		/*
  Running Squiz Matrix
  Developed by Squiz - http://www.squiz.net
  Squiz, Squiz Matrix, MySource, MySource Matrix and Squiz.net are registered Trademarks of Squiz Pty Ltd
  Page generated: 26 April 2016 15:01:30
*/


/* 
 * Waimate District Council - Stylesheet
 * 
 * INDEX:
 *
 * Default
   - Reset
   - Grid
   - Layouts
   - Base
   - Utilities
   - Typography
   - Components
     * Content
     * Header
     * Breadcrumbs
     * Secondary-nav
     * Left-content
     * Footer
   - Plugins
    * Tabs
    * Magnific popup
   - Responsive base styles
   - IE fixes
 * @media (min-width 1600px)
  - Responsive
  - Components
    * Header
 * @media (min-width: 980px) and (max-width: 1230px)
  - Responsive
  - Components
    * Header
 * @media (min-width: 768px) and (max-width: 979px)
  - Global
    * Base
  - Responsive
  - Components
    * Content
    * Header
 * @media (max-width: 979px) 
  - Layout
    * Grid
  - Components
    * Header
    * Footer
 * @media (max-width: 767px)
  - Global
    * Base
  - Layout
    * Grid
    * Layouts
  - Responsive
  - Components
    * Header
    * Secondary-nav
    * Breadcrumbs
    * Left-content
    * Content
    * Footer
 * @media (max-width: 480px)
  - Responsive
  - Components
    * Header
    * Content
    * Footer
 -----------------------------------------------*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
main,
section {
  display: block;
}

audio,
canvas,
video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

audio:not([controls]) {
  display: none;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

a:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

a:hover,
a:active {
  outline: 0;
}

sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  /* Responsive images (ensure images don't scale beyond their parents) */
  max-width: 100%;
  /* Part 1: Set a maxium relative to the parent */
  width: auto\9;
  /* IE7-8 need help adjusting responsive images */
  height: auto;
  /* Part 2: Scale the height according to the width, otherwise you get stretching */
  vertical-align: middle;
  border: 0;
  -ms-interpolation-mode: bicubic;
}

#map-canvas img,
.google-maps img {
  max-width: none;
}

button,
input,
select,
textarea {
  margin: 0;
  font-size: 100%;
  vertical-align: middle;
}

button,
input {
  *overflow: visible;
  line-height: normal;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  padding: 0;
  border: 0;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

label,
select,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
input[type="radio"],
input[type="checkbox"] {
  cursor: pointer;
}

input[type="search"] {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  -webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

textarea {
  overflow: auto;
  vertical-align: top;
}

@media print {
  * {
    text-shadow: none !important;
    color: #000 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
}

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
.row {
  margin-left: -30px;
  *zoom: 1;
}
.row:before, .row:after {
  display: table;
  content: "";
  line-height: 0;
}
.row:after {
  clear: both;
}

[class*="span"] {
  float: left;
  min-height: 1px;
  margin-left: 30px;
}

.container.fixed-fluid {
  width: 100%;
  max-width: 1300px;
}

.row-fluid {
  width: 100%;
  *zoom: 1;
}
.row-fluid:before, .row-fluid:after {
  display: table;
  content: "";
  line-height: 0;
}
.row-fluid:after {
  clear: both;
}
.row-fluid [class*="span"] {
  display: block;
  width: 100%;
  min-height: 29px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
  margin-left: 2.43902%;
  *margin-left: 2.38583%;
}
.row-fluid [class*="span"]:first-child {
  margin-left: 0;
}
.row-fluid .controls-row [class*="span"] + [class*="span"] {
  margin-left: 2.43902%;
}
.row-fluid .span1 {
  width: 6.09756%;
  *width: 6.04437%;
}
.row-fluid .span2 {
  width: 14.63415%;
  *width: 14.58095%;
}
.row-fluid .span3 {
  width: 23.17073%;
  *width: 23.11754%;
}
.row-fluid .span4 {
  width: 31.70732%;
  *width: 31.65413%;
}
.row-fluid .span5 {
  width: 40.2439%;
  *width: 40.19071%;
}
.row-fluid .span6 {
  width: 48.78049%;
  *width: 48.7273%;
}
.row-fluid .span7 {
  width: 57.31707%;
  *width: 57.26388%;
}
.row-fluid .span8 {
  width: 65.85366%;
  *width: 65.80047%;
}
.row-fluid .span9 {
  width: 74.39024%;
  *width: 74.33705%;
}
.row-fluid .span10 {
  width: 82.92683%;
  *width: 82.87364%;
}
.row-fluid .span11 {
  width: 91.46341%;
  *width: 91.41022%;
}
.row-fluid .span12 {
  width: 100%;
  *width: 99.94681%;
}
.row-fluid .offset1 {
  margin-left: 10.97561%;
  *margin-left: 10.86923%;
}
.row-fluid .offset1:first-child {
  margin-left: 8.53659%;
  *margin-left: 8.4302%;
}
.row-fluid .offset2 {
  margin-left: 19.5122%;
  *margin-left: 19.40581%;
}
.row-fluid .offset2:first-child {
  margin-left: 17.07317%;
  *margin-left: 16.96679%;
}
.row-fluid .offset3 {
  margin-left: 28.04878%;
  *margin-left: 27.9424%;
}
.row-fluid .offset3:first-child {
  margin-left: 25.60976%;
  *margin-left: 25.50337%;
}
.row-fluid .offset4 {
  margin-left: 36.58537%;
  *margin-left: 36.47898%;
}
.row-fluid .offset4:first-child {
  margin-left: 34.14634%;
  *margin-left: 34.03996%;
}
.row-fluid .offset5 {
  margin-left: 45.12195%;
  *margin-left: 45.01557%;
}
.row-fluid .offset5:first-child {
  margin-left: 42.68293%;
  *margin-left: 42.57654%;
}
.row-fluid .offset6 {
  margin-left: 53.65854%;
  *margin-left: 53.55215%;
}
.row-fluid .offset6:first-child {
  margin-left: 51.21951%;
  *margin-left: 51.11313%;
}
.row-fluid .offset7 {
  margin-left: 62.19512%;
  *margin-left: 62.08874%;
}
.row-fluid .offset7:first-child {
  margin-left: 59.7561%;
  *margin-left: 59.64971%;
}
.row-fluid .offset8 {
  margin-left: 70.73171%;
  *margin-left: 70.62532%;
}
.row-fluid .offset8:first-child {
  margin-left: 68.29268%;
  *margin-left: 68.1863%;
}
.row-fluid .offset9 {
  margin-left: 79.26829%;
  *margin-left: 79.16191%;
}
.row-fluid .offset9:first-child {
  margin-left: 76.82927%;
  *margin-left: 76.72289%;
}
.row-fluid .offset10 {
  margin-left: 87.80488%;
  *margin-left: 87.6985%;
}
.row-fluid .offset10:first-child {
  margin-left: 85.36585%;
  *margin-left: 85.25947%;
}
.row-fluid .offset11 {
  margin-left: 96.34146%;
  *margin-left: 96.23508%;
}
.row-fluid .offset11:first-child {
  margin-left: 93.90244%;
  *margin-left: 93.79606%;
}
.row-fluid .offset12 {
  margin-left: 104.87805%;
  *margin-left: 104.77167%;
}
.row-fluid .offset12:first-child {
  margin-left: 102.43902%;
  *margin-left: 102.33264%;
}

[class*="span"].hide,
.row-fluid [class*="span"].hide {
  display: none;
}

[class*="span"].pull-right,
.row-fluid [class*="span"].pull-right {
  float: right;
}

.container {
  margin-right: auto;
  margin-left: auto;
  *zoom: 1;
}
.container:before, .container:after {
  display: table;
  content: "";
  line-height: 0;
}
.container:after {
  clear: both;
}

.old_ie .container,
.old_ie .container.fixed-fluid {
  min-width: 980px !important;
}

.old-ie .visually-hidden {
  display: none;
}

.container-fluid {
  padding-right: 20px;
  padding-left: 20px;
  *zoom: 1;
}
.container-fluid:before, .container-fluid:after {
  display: table;
  content: "";
  line-height: 0;
}
.container-fluid:after {
  clear: both;
}

.container.fixed-fluid {
  padding-right: 3% !important;
  padding-left: 3% !important;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

main > .container.fixed-fluid {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
}
.landing main > .container.fixed-fluid {
  top: -5em;
}

footer > div.container.fixed-fluid {
  padding: 0 !important;
}

html {
  background-color: white;
}

body {
  min-width: 320px;
  margin: 0;
  color: #302e33;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 13px;
  line-height: 19px;
  -webkit-transition: background-color 0.45s ease-in-out;
  -moz-transition: background-color 0.45s ease-in-out;
  -o-transition: background-color 0.45s ease-in-out;
  transition: background-color 0.45s ease-in-out;
}

a {
  color: #9d3401;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #511b01;
  text-decoration: underline;
}

ul {
  -webkit-padding-start: 0;
  -moz-padding-start: 0;
}

.wrapper {
  padding-bottom: 3.0em;
  background-color: white;
}

.warning,
.requirederror {
  color: #bf460a;
}

.onepx-border {
  border: 1px solid #000;
}

.fade.in {
  opacity: 1;
}

.fade {
  opacity: 0;
  -webkit-transition: opacity 0.15s linear 0s;
  -moz-transition: opacity 0.15s linear 0s;
  -o-transition: opacity 0.15s linear 0s;
  transition: opacity 0.15s linear 0s;
}

.nav-visually-hidden,
.visually-hidden {
  position: absolute;
  left: -9999px;
}

.hidden-field.hide {
  display: none;
}

.row-fluid.neg-marg {
  margin-left: -20px;
}

.row-fluid.neg-marg [class*="span"]:first-child {
  margin-left: 20px;
}

.full-width {
  width: 100%;
}
.row-fluid .full-width {
  width: 100%;
}
.full-width.row-fluid {
  width: 100%;
}

.half-width {
  width: 50%;
}
.row-fluid .half-width {
  width: 50%;
}
.half-width.row-fluid {
  width: 50%;
}

.span-half-width {
  width: 48.78049%;
  *width: 48.7273%;
}
.row-fluid .span-half-width {
  width: 48.78049%;
  *width: 48.7273%;
}
.span-half-width.row-fluid {
  width: 48.78049%;
  *width: 48.7273%;
}

.add-margin {
  margin-left: 2.43902%;
}
.row-fluid .add-margin {
  margin-left: 2.43902%;
}
.add-margin.row-fluid {
  margin-left: 2.43902%;
}

.pull-left {
  float: left;
}

.pull-right {
  float: right;
}

.pull-center {
  position: relative;
  float: right;
  width: auto;
  left: -50%;
}
.pull-center > * {
  position: relative;
  left: 50%;
  width: auto;
}

.clear-left {
  clear: left;
}

.clear-right {
  clear: right;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.no-left-margin {
  margin-left: 0;
}

.no-top-margin {
  margin-top: 0;
}

.no-bottom-margin {
  margin-bottom: 0;
}

.no-right-margin {
  margin-right: 0;
}

[class*="span"].clear-left,
.row-fluid [class*="span"].clear-left {
  margin-left: 0;
}

[class*="span"].no-top-margin,
.row-fluid [class*="span"].no-top-margin {
  margin-top: 0;
}

[class*="span"].no-bottom-margin,
.row-fluid [class*="span"].no-bottom-margin {
  margin-bottom: 0;
}

[class*="span"].no-left-margin,
.row-fluid [class*="span"].no-left-margin {
  margin-left: 0;
}

[class*="span"].no-right-margin,
.row-fluid [class*="span"].no-right-margin {
  margin-right: 0;
}

[class*="span"].no-margin,
.row-fluid [class*="span"].no-margin {
  margin: 0;
}

.no-left-padding {
  padding-left: 0;
}

.no-top-padding {
  padding-top: 0;
}

.no-bottom-padding {
  padding-bottom: 0;
}

.no-right-padding {
  padding-right: 0;
}

@-moz-keyframes spin {
  0% {
    -moz-transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(359deg);
  }
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(359deg);
  }
}

@-o-keyframes spin {
  0% {
    -o-transform: rotate(0deg);
  }

  100% {
    -o-transform: rotate(359deg);
  }
}

@-ms-keyframes spin {
  0% {
    -ms-transform: rotate(0deg);
  }

  100% {
    -ms-transform: rotate(359deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(359deg);
  }
}

@font-face {
  font-family: FontAwesome;
  src: url("/__data/assets/file/0004/8770/fontawesome-webfont.eot");
  src: url("/__data/assets/file/0004/8770/fontawesome-webfont.eot?#iefix") format("embedded-opentype"), url("/__data/assets/file/0007/8773/fontawesome-webfont.woff") format("woff"), url("/__data/assets/file/0006/8772/fontawesome-webfont.ttf") format("truetype"), url("/__data/assets/file/0005/8771/fontawesome-webfont.svg#Fontawesome") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: MerriweatherLight;
  src: url("/__data/assets/file/0004/8788/merriweathersans-light-webfont.eot");
  src: url("/__data/assets/file/0004/8788/merriweathersans-light-webfont.eot?#iefix") format("embedded-opentype"), url("/__data/assets/file/0007/8791/merriweathersans-light-webfont.woff") format("woff"), url("/__data/assets/file/0006/8790/merriweathersans-light-webfont.ttf") format("truetype"), url("/__data/assets/file/0005/8789/merriweathersans-light-webfont.svg#merriweather_sanslight") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: MerriweatherRegular;
  src: url("/__data/assets/file/0008/8792/merriweathersans-regular-webfont.eot");
  src: url("/__data/assets/file/0008/8792/merriweathersans-regular-webfont.eot?#iefix") format("embedded-opentype"), url("/__data/assets/file/0011/8795/merriweathersans-regular-webfont.woff") format("woff"), url("/__data/assets/file/0010/8794/merriweathersans-regular-webfont.ttf") format("truetype"), url("/__data/assets/file/0009/8793/merriweathersans-regular-webfont.svg#merriweather_sansregular") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: MerriweatherBold;
  src: url("/__data/assets/file/0015/9132/merriweathersans-bold-webfont.eot");
  src: url("/__data/assets/file/0015/9132/merriweathersans-bold-webfont.eot?#iefix") format("embedded-opentype"), url("/__data/assets/file/0016/9133/merriweathersans-bold-webfont.woff") format("woff"), url("/__data/assets/file/0017/9134/merriweathersans-bold-webfont.ttf") format("truetype"), url("/__data/assets/file/0018/9135/merriweathersans-bold-webfont.svg#merriweather_sansbold") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: Myra4FCaps;
  src: url("/__data/assets/file/0009/8883/Myra_4F_Caps_Bold-webfont.eot");
  src: url("/__data/assets/file/0009/8883/Myra_4F_Caps_Bold-webfont.eot?#iefix") format("embedded-opentype"), url("/__data/assets/file/0010/8884/Myra_4F_Caps_Bold-webfont.woff") format("woff"), url("/__data/assets/file/0011/8885/Myra_4F_Caps_Bold-webfont.ttf") format("truetype"), url("/__data/assets/file/0003/8886/Myra_4F_Caps_Bold-webfont.svg#Myra_4F_Caps_Bold") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: Myra4FCapsLight;
  src: url("/__data/assets/file/0006/8961/Myra_4F_Caps_Light-webfont.eot");
  src: url("/__data/assets/file/0006/8961/Myra_4F_Caps_Light-webfont.eot?#iefix") format("embedded-opentype"), url("/__data/assets/file/0007/8962/Myra_4F_Caps_Light-webfont.woff") format("woff"), url("/__data/assets/file/0008/8963/Myra_4F_Caps_Light-webfont.ttf") format("truetype"), url("/__data/assets/file/0009/8964/Myra_4F_Caps_Light-webfont.svg#Myra_4F_Caps_Light") format("svg");
  font-weight: normal;
  font-style: normal;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  @font-face {
    font-family: MerriweatherBook;
    src: url("/__data/assets/file/0005/8789/merriweathersans-light-webfont.svg#MerriweatherLight") format("svg");
}

  @font-face {
    font-family: MerriweatherRegular;
    src: url("/__data/assets/file/0009/8793/merriweathersans-regular-webfont.svg#MerriweatherRegular") format("svg");
}
}
a[href$=".pdf"] {
  position: relative;
  padding: 0 0 0 2.4em;
  line-height: 1.8em;
}
a[href$=".pdf"]:before {
  display: block;
  position: absolute;
  top: -6px;
  z-index: 1;
  content: 'pdf';
  width: 25px;
  height: 25px;
  border: 2px solid #cd2723;
  color: #cd2723;
  font-size: 9.0px;
  text-align: center;
  font-weight: 800;
  -webkit-border-top-left-radius: 8px;
  -moz-border-radius-topleft: 8px;
  border-top-left-radius: 8px;
}

a[href$=".doc"],
a[href$=".docx"] {
  position: relative;
  padding: 0 0 0 2.4em;
  line-height: 1.8em;
}
a[href$=".doc"]:before,
a[href$=".docx"]:before {
  display: block;
  position: absolute;
  top: -6px;
  z-index: 1;
  content: 'doc';
  width: 25px;
  height: 25px;
  border: 2px solid #0059ff;
  color: #0059ff;
  font-size: 9.0px;
  text-align: center;
  font-weight: 800;
  -webkit-border-top-left-radius: 8px;
  -moz-border-radius-topleft: 8px;
  border-top-left-radius: 8px;
}

a[href$=".xls"],
a[href$=".xlsx"] {
  position: relative;
  padding: 0 0 0 2.4em;
  line-height: 1.8em;
}
a[href$=".xls"]:before,
a[href$=".xlsx"]:before {
  display: block;
  position: absolute;
  top: -6px;
  z-index: 1;
  content: 'xls';
  width: 25px;
  height: 25px;
  border: 2px solid #197719;
  color: #197719;
  font-size: 9.0px;
  text-align: center;
  font-weight: 800;
  -webkit-border-top-left-radius: 8px;
  -moz-border-radius-topleft: 8px;
  border-top-left-radius: 8px;
}

a[href$=".ppt"],
a[href$=".pptx"] {
  position: relative;
  padding: 0 0 0 2.4em;
  line-height: 1.8em;
}
a[href$=".ppt"]:before,
a[href$=".pptx"]:before {
  display: block;
  position: absolute;
  top: -6px;
  z-index: 1;
  content: 'ppt';
  width: 25px;
  height: 25px;
  border: 2px solid #d2872f;
  color: #d2872f;
  font-size: 9.0px;
  text-align: center;
  font-weight: 800;
  -webkit-border-top-left-radius: 8px;
  -moz-border-radius-topleft: 8px;
  border-top-left-radius: 8px;
}

a[href$=".pdf"]:before,
a[href$=".doc"]:before,
a[href$=".xls"]:before,
a[href$=".ppt"]:before {
  left: 0;
}

.logo {
  font-family: MerriweatherRegular;
  color: white;
  font-size: 20.0px;
}
.logo span.special-caps {
  font-family: Myra4FCaps;
}

h1.page-title {
  margin-top: 2em;
  color: #302e33;
  font-family: MerriweatherLight;
  font-size: 35.0px;
  letter-spacing: 1px;
  line-height: 1.5em;
}

main {
  min-height: 300px;
  padding-bottom: 2.0em;
}
.show-secondary-nav main {
  background-color: transparent;
}
#id8674 main {
  margin-left: 0;
}
main pre {
  clear: both;
  padding: 1.0em;
  margin: 0.5em 0;
  background-color: #ebecee;
  border: 1px solid #888888;
  color: black;
  font-family: Consolas, Monaco, "Andale Mono", monospace;
  text-align: left;
  text-shadow: 0 1px white;
  white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  word-wrap: break-word;
  overflow: auto;
}
main pre code {
  color: black;
  font-family: Consolas, Monaco, "Andale Mono", monospace;
  font-size: 13px;
  text-align: left;
  white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  word-wrap: break-word;
  word-spacing: normal;
}
main pre code .tag {
  color: #990055;
}
main pre code .punct {
  color: #999999;
}
main pre code .attr {
  color: #669900;
}
main pre code .value {
  color: #0077aa;
}
main > h2:first-child {
  margin-top: 0;
}
main > script:first-child + h2 {
  margin-top: 0;
}
main h2, main h3, main h4, main h5, main h6 {
  margin: 1.0em 0 0.3em;
  letter-spacing: 1px;
  font-weight: normal;
}
main h2.no-top-margin, main h3.no-top-margin, main h4.no-top-margin, main h5.no-top-margin, main h6.no-top-margin {
  margin-top: 0;
}
main h2, main h3 {
  font-family: MerriweatherLight;
}
main h4, main h5 {
  font-family: MerriweatherRegular;
}
main h6 {
  font-family: MerriweatherBold;
}
main h2 {
  color: #302e33;
  font-size: 25.0px;
  line-height: 32.3px;
}
main h3 {
  color: #302e33;
  font-size: 21.0px;
  line-height: 27.55px;
}
main h3.form-section-title {
  border-bottom: 1px solid #616359;
}
main h3.a-z-heading {
  font-size: 35.0px;
  line-height: 38px;
  margin-top: 1.5em;
  color: #00808d;
}
main h3.a-z-heading:first-of-type {
  margin-top: 0;
}
main h3.a-z-heading#group-hash {
  font-size: 39px;
  line-height: 38px;
}
main h4 {
  color: #bf460a;
  font-size: 17.0px;
  line-height: 23.75px;
}
main h5 {
  color: #bf460a;
  font-size: 15.0px;
  line-height: 19.95px;
}
main h6 {
  color: #302e33;
  font-size: 13px;
  line-height: 18.05px;
}
main p {
  margin: 0 0 1.0em;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 13px;
  line-height: 1.5em;
}
main p.small {
  font-size: 12.0px;
}
main p.gray {
  color: #888888;
}
main p.error {
  color: #bf460a;
}
main p.a-z-controls {
  display: block;
  z-index: 300;
  width: 100%;
  background: #222222;
  -webkit-transition: top 0.45s ease-in-out;
  -moz-transition: top 0.45s ease-in-out;
  -o-transition: top 0.45s ease-in-out;
  transition: top 0.45s ease-in-out;
}
.show-contact-panel main p.a-z-controls, .show-share-panel main p.a-z-controls, .show-search-panel main p.a-z-controls {
  top: 325px;
}
.moving main p.a-z-controls, .scrolling main p.a-z-controls, .no-transition main p.a-z-controls {
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  transition: none;
}
.scrolling main p.a-z-controls {
  left: 0;
  max-width: 100%;
  padding: 0 !important;
  position: fixed;
  top: 53px;
}
.scrolling main p.a-z-controls > span {
  max-width: 930px;
  margin: 0 auto;
}
main p.a-z-controls > span {
  display: block;
  padding: 1em;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
main p.a-z-controls > span > a {
  float: left;
  width: 3.703703703703704%;
  padding: 10px;
  margin: 0;
  color: white;
  font-family: MerriweatherLight;
  font-size: 18.0px;
  text-align: center;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
main p.a-z-controls > span > a:hover {
  background-color: #ffc40c;
  color: black;
  text-decoration: none;
}
main p.a-z-controls > span > span {
  float: left;
  width: 3.703703703703704%;
  padding: 10px;
  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  color: #536b71;
  font-family: MerriweatherLight;
  font-size: 18.0px;
  text-align: center;
}
main p.page-list {
  padding: 1.5em 0 0 0;
  margin-top: 1.0em;
  border-top: 1px solid #616359;
  text-align: center;
  line-height: 34px;
  text-transform: uppercase;
  font-size: 12.0px;
  *zoom: 1;
}
main p.page-list:before, main p.page-list:after {
  display: table;
  content: "";
  line-height: 0;
}
main p.page-list:after {
  clear: both;
}
main p.page-list > span {
  margin: 0.3em 0.3em 1em;
  padding: 0.2em 1.3em;
  display: inline-block;
  color: #654c79;
  font-family: MerriweatherLight;
}
main p.page-list > span.current {
  background-color: #00808d;
  color: white;
}
main p.page-list > a {
  margin: 0.3em 0.3em 1em;
  padding: 0.2em 1.3em;
  display: inline-block;
  background-color: #ecf0f1;
  color: #654c79;
  font-family: MerriweatherRegular;
  text-decoration: none;
}
main p.page-list > a:hover {
  background-color: #654c79;
  color: white;
}
main p.page-list > a:focus, main p.page-list > a:active {
  outline: 0;
}
main > ul.landing:first-child, main > ul.latest-news:first-child, main > ul.upcoming:first-child {
  margin-top: 0;
}
main ul {
  margin: 0 0 1.0em;
  padding-left: 1.5em;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 13px;
}
main ul li {
  line-height: 1.5em;
}
main ul.no-bullet li {
  list-style: none;
}
main ul.errors li {
  color: #bf460a;
}
main ul.doc-list {
  padding-left: 45px;
}
main ul.doc-list > li {
  list-style: none;
  padding: 0.2em 0;
  font-size: 12.0px;
}
main ul.doc-list > li > a {
  display: block;
  padding: 0.3em 0 0;
  font-size: 13px;
}
main ul.doc-list > li a[href$=".pdf"]:before,
main ul.doc-list > li a[href$=".doc"]:before,
main ul.doc-list > li a[href$=".docx"]:before,
main ul.doc-list > li a[href$=".xls"]:before,
main ul.doc-list > li a[href$=".xlsx"]:before,
main ul.doc-list > li a[href$=".ppt"]:before,
main ul.doc-list > li a[href$=".pptx"]:before {
  top: 4px;
  left: -35px;
}
main ul.doc-list > li span {
  color: #888888;
  font-size: 12.0px;
}
main ul.search-results {
  padding: 0;
}
main ul.search-results > li {
  margin-bottom: 1.5em;
  list-style: none;
}
main ul.search-results > li:after {
  content: "";
}
main ul.search-results > li > a {
  display: block;
  font-size: 15.0px;
}
main ul.search-results > li > em {
  display: block;
  color: #0059ff;
}
main ul.landing {
  margin: 5.4em 0 1.0em;
  padding-left: 0;
}
main ul.landing:first-child {
  margin-top: 0;
}
main ul.landing > li {
  margin-bottom: 0.7em;
  list-style: none;
}
main ul.landing > li.span6:nth-child(2n+1) {
  clear: left;
  margin-left: 0;
}
main ul.landing > li h3 {
  min-height: 65px;
  padding: 1em;
  margin: 0;
  text-transform: none;
  background: #00808d;
}
main ul.landing > li h3 a {
  color: white;
  font-size: 17.0px;
}
main ul.landing > li p {
  display: none;
  padding: 0;
  margin-top: 0.5em;
  font-size: 13px;
}
main ul.landing > li img {
  width: 100%;
  margin-bottom: 1.0em;
}
main ul.latest-news, main ul.upcoming, main ul.events {
  padding: 0;
  margin: 1.0em 0;
}
main ul.latest-news > li, main ul.upcoming > li, main ul.events > li {
  height: 250px;
  margin-bottom: 1.5em;
  list-style: none;
}
main ul.latest-news > li > a, main ul.upcoming > li > a, main ul.events > li > a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 4.0em 0 0;
  margin: 0;
  background-color: #00808d;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  overflow: hidden;
}
main ul.latest-news > li > a:hover, main ul.upcoming > li > a:hover, main ul.events > li > a:hover {
  background-color: #654c79;
  text-decoration: none;
}
main ul.latest-news > li > a:hover > h3, main ul.upcoming > li > a:hover > h3, main ul.events > li > a:hover > h3 {
  text-decoration: underline;
}
main ul.latest-news > li > a:hover p, main ul.upcoming > li > a:hover p, main ul.events > li > a:hover p {
  text-decoration: none;
}
main ul.latest-news > li > a > h3, main ul.upcoming > li > a > h3, main ul.events > li > a > h3 {
  padding: 0 20px;
  margin-top: 0;
  color: white;
  font-size: 18.0px;
  line-height: 24.0px;
  letter-spacing: 0;
  text-transform: capitalize;
}
main ul.latest-news > li > a > p, main ul.upcoming > li > a > p, main ul.events > li > a > p {
  padding: 0 20px;
  color: white;
}
main ul.latest-news > li > a > p.date, main ul.upcoming > li > a > p.date, main ul.events > li > a > p.date {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: 20px;
  padding-top: 10px;
  margin: 0;
  background-color: none;
  color: white;
  font-family: MerriweatherLight;
  font-size: 12.0px;
  text-align: center;
}
main ul.latest-news > li > a > p.summary, main ul.upcoming > li > a > p.summary, main ul.events > li > a > p.summary {
  font-size: 12.0px;
}
main ul.latest-news > li > a > img, main ul.upcoming > li > a > img, main ul.events > li > a > img {
  position: absolute;
  bottom: -10px;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
main ul.latest-news li:nth-child(3n+1) {
  clear: left;
  margin-left: 0;
}
main ul.latest-news li.fourth {
  clear: left;
  margin-left: 0;
}
main ul.latest-news li > a {
  padding: 3.0em 0 0;
}
main ul.latest-news li > a > p.date {
  top: 15px;
  padding-top: 4px;
}
main ul.upcoming.events li:nth-child(2n+1) {
  clear: left;
  margin-left: 0;
}
main ul.upcoming.events li:nth-child(3n+1) {
  clear: none;
  margin-left: 2.43902%;
}
main ul.upcoming li:first-of-type {
  margin-left: 0;
}
main ul.upcoming li:nth-child(3n+1) {
  clear: left;
  margin-left: 0;
}
main ul.upcoming li.fourth {
  clear: left;
  margin-left: 0;
}
main ul.upcoming li > a > p.date {
  padding-top: 10px;
}
main ul.events li:first-of-type {
  margin-left: 0;
}
main ul.events li:nth-child(2n+1) {
  clear: left;
  margin-left: 0;
}
main ul.events li > a > p.date {
  padding-top: 10px;
}
main ul.a-z-results {
  padding-left: 7em;
  margin-top: -45px;
  list-style: none outside none;
}
main ul.house-list {
  list-style: none;
}
main ul.house-list > li {
  padding: 5px 10px;
}
main ul.house-list > li:before {
  font-family: FontAwesome;
  font-size: 20.0px;
  font-weight: normal;
  font-style: normal;
  text-decoration: inherit;
  -webkit-font-smoothing: antialiased;
  *margin-right: .3em;
  content: "\f015";
}
main ul.burial-list {
  list-style: none;
}
main ul.burial-list > li {
  padding: 5px 10px;
}
main ul.burial-list > li:before {
  font-family: FontAwesome;
  font-size: 20.0px;
  font-weight: normal;
  font-style: normal;
  text-decoration: inherit;
  -webkit-font-smoothing: antialiased;
  *margin-right: .3em;
  content: "\f007";
}
main ol {
  margin: 0 0 1.0em;
  padding-left: 1.8em;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 13px;
}
main ol li {
  line-height: 1.5em;
}
main img.banner {
  width: 100%;
  max-width: 100%;
}
main img.pull-left {
  margin: 0 1.0em 1.0em 0;
}
main img.pull-right {
  margin: 0 0 1.0em 1.0em;
}
main table {
  width: 100%;
  padding: 0;
  margin: 1.0em 0;
  border-collapse: collapse;
}
main table tr {
  border-top: 1px solid #dfdfdc;
}
main table tr:last-child {
  border-bottom: 1px solid #adafa6;
}
main table th {
  padding: 1.3em 1em;
  border-top: 1px solid #adafa6;
  color: #00808d;
  font-family: MerriweatherLight;
  font-size: 14.0px;
  text-align: left;
  line-height: 19px;
}
main table td {
  padding: 11px 14px;
  line-height: 22.8px;
  vertical-align: top;
}
main table.striped {
  border-top: none;
  border-left: none;
  border-right: none;
}
main table.striped tr:first-child {
  padding: 1.3em 1em;
}
main table.striped tr:nth-child(2n+2) {
  background-color: #eff0f1;
}
main table.striped th, main table.striped td {
  border: none;
}
main table.horizontal tr:first-child {
  border-top: 1px solid #adafa6;
}
main table.horizontal th {
  border-top: none;
}
main form {
  margin: 0 0 1.0em 0;
}
main fieldset {
  padding: 0 1px 0 0;
  margin: 1.0em 0;
  position: relative;
  background-color: transparent;
  border: none;
}
main fieldset.no-bottom-margin {
  margin-bottom: 0;
}
main fieldset.no-top-margin {
  margin-top: 0;
}
main fieldset .row-fluid {
  margin: 1.0em 0;
}
main fieldset .row-fluid.inline .no-left-margin {
  margin-left: 0;
}
main fieldset legend {
  padding: 0;
  margin-bottom: 1.0em;
  font-family: MerriweatherLight;
}
main fieldset legend.no-margin {
  margin: 0;
}
main fieldset legend[class*="span"] {
  min-height: inherit;
}
main fieldset legend[class*="span"].small {
  font-size: 11.0px;
}
main fieldset label {
  font-family: MerriweatherLight;
}
main fieldset label.small {
  font-size: 11.0px;
}
main fieldset label.error {
  float: right;
  color: #bf460a;
}
main fieldset label[class*="span"] {
  min-height: inherit;
}
main fieldset ul[class*="span"] {
  padding: 0;
  margin: 0 0 0 2.43902%;
  list-style: none;
}
main fieldset ul[class*="span"] > li {
  list-style: none;
}
main fieldset ul[class*="span"] > li:after {
  content: "";
}
main fieldset ul[class*="span"].inline > li {
  display: inline;
}
main fieldset.option-list > ul {
  display: block;
  float: left;
  width: 57.3171%;
  min-height: 30px;
  padding: 0;
  margin: 0 0 0 2.43902%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
main fieldset.option-list > ul > li {
  list-style: none;
}
main fieldset.option-list > ul > li:after {
  content: "";
}
main fieldset.option-list.columns-2 > ul > li {
  list-style: none;
  display: inline-block;
  width: 50%;
}
main fieldset.option-list.columns-2 > ul > li:after {
  content: "";
}
main fieldset.option-list.columns-3 > ul > li {
  list-style: none;
  display: inline-block;
  width: 33.333%;
}
main fieldset.option-list.columns-3 > ul > li:after {
  content: "";
}
main fieldset.inline > ul > li {
  display: inline;
  margin-right: 10px;
}
main input,
main textarea,
main select,
main .styledSelect {
  min-height: inherit;
  margin-bottom: 0.5em;
  border: 1px solid #95978b;
  -webkit-transition: background-color 0.1s ease-in-out;
  -moz-transition: background-color 0.1s ease-in-out;
  -o-transition: background-color 0.1s ease-in-out;
  transition: background-color 0.1s ease-in-out;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: MerriweatherLight;
  font-size: 13px;
}
main input:focus,
main textarea:focus,
main select:focus,
main .styledSelect:focus {
  background-color: #ecf0f1;
  border: 1px solid #616359;
  outline: none;
}
main input.error,
main textarea.error,
main select.error,
main .styledSelect.error {
  border: 1px solid #bf460a;
  background: #fcdccc;
}
main input,
main select {
  width: 48%;
}
main select {
  padding: 0.5em;
}
main #content .select {
  position: relative;
  margin: 0 0 1em 0;
}
main .styledSelect {
  position: relative;
  padding: 0.5em 0.75em;
  margin-left: 0;
  margin-bottom: 0;
}
main .styledSelect:after {
  font-family: FontAwesome;
  font-size: 25.0px;
  font-weight: normal;
  font-style: normal;
  text-decoration: inherit;
  -webkit-font-smoothing: antialiased;
  *margin-right: .3em;
  content: "\f107";
  display: block;
  width: 1em;
  height: 1em;
  color: white;
  background: #00808d;
  position: absolute;
  padding: 0.3em 0 0 0.3em;
  top: 0;
  right: 0;
  border-left: 1px solid #95978b;
}
main .options {
  float: left;
  clear: left;
  list-style: none;
  border: 1px solid #95978b;
  border-top: none;
  width: 100%;
  padding-left: 0;
  box-sizing: border-box;
  position: absolute;
  background: white;
}
main .options li {
  line-height: 2em;
  padding: 0 5%;
}
main .options li:hover {
  background: #dfdfdc;
}
main .visually-hidden + input[class*="span"],
main .visually-hidden + textarea[class*="span"],
main .visually-hidden + select[class*="span"],
main .select {
  margin-left: 0;
}
main input[type="radio"],
main input[type="checkbox"] {
  background-color: transparent;
  border: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  padding: 0;
  border: 1px solid #616359;
}
main input[type="radio"]:focus,
main input[type="checkbox"]:focus {
  background-color: transparent;
}
main input[type="radio"]:checked,
main input[type="checkbox"]:checked {
  background: #654c79;
  border: 2px inset #616359;
}
main input[type="radio"] {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
main input[type="checkbox"] {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
main input[type="radio"] + label,
main input[type="checkbox"] + label {
  line-height: 38px;
  padding-left: 1em;
}
main input {
  padding: 6px 10px;
}
main input[readonly] {
  background-color: transparent;
  border-color: transparent;
}
main textarea {
  min-height: 8.0em;
  padding: 6px 10px;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
main input[type="radio"],
main input[type="checkbox"] {
  margin-bottom: 0;
}
main input[type="submit"],
main button,
main a.submit-button {
  height: 20px;
  padding: 5px 20px 5px;
  margin: 0;
  background-color: #00808d;
  border: 2px solid transparent;
  color: white;
  font-family: MerriweatherLight;
  font-size: 16.0px;
  text-transform: uppercase;
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  transition: none;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  width: auto;
}
main input[type="submit"]:hover,
main button:hover,
main a.submit-button:hover {
  background-color: #654c79;
  text-decoration: none;
}
main .save-row {
  padding: 1.5em 0 0 0;
  margin-top: 1.5em;
  text-align: right;
}
main .save-row input[type="submit"],
main .save-row button {
  margin: 0 0 1.0em 2.0em;
}
main div[class*="-wrap"] {
  margin-top: 4em;
  height: 38em;
  overflow: hidden;
  position: relative;
}
main div[class*="-wrap"] > ul {
  list-style: none;
  margin: 1em 0;
  padding: 0;
  position: relative;
}
main div[class*="-wrap"] > ul .date {
  font-size: 12.0px;
}
main div[class*="-wrap"] > ul li {
  padding: 0.5em 1em;
  background: white;
  position: absolute;
  top: 0;
  opacity: 0;
  z-index: 0;
  height: 21em;
  overflow: hidden;
  width: 100%;
}
main div[class*="-wrap"] > ul li img {
  width: 100%;
}
main div[class*="-wrap"] > ul li.active {
  opacity: 100;
  z-index: 1;
  transition: opacity 1s ease-in-out 0s;
}
main div[class*="-wrap"] h3 {
  color: white;
  font-size: 16.0px;
  text-transform: uppercase;
  width: 100%;
  padding-top: 6.2em;
}
main div[class*="-wrap"] h3 span {
  padding: 0.5em 1em;
  width: 100%;
  display: block;
  box-sizing: border-box;
}
main div[class*="-wrap"] h3:before {
  content: "";
  height: 100px;
  position: absolute;
  top: 35px;
  width: 500px;
}
main div[class*="-wrap"] h4 {
  font-size: 16.0px;
}
main div[class*="-wrap"].public-notices-wrap {
  margin-left: 0;
}
main div[class*="-wrap"].public-notices-wrap a {
  color: inherit;
}
main div[class*="-wrap"].public-notices-wrap h3:before {
  background: url("http://www.waimate.org.nz/__data/assets/image/0018/9315/iconic.png?v=0.1.1") transparent no-repeat left top;
  left: 0;
}
main div[class*="-wrap"].public-notices-wrap h3 span {
  background: #bf460a;
}
main div[class*="-wrap"].public-notices-wrap .scroller-controls a:hover, main div[class*="-wrap"].public-notices-wrap .scroller-controls a.active {
  background: #bf460a;
}
main div[class*="-wrap"].latest-news-wrap a {
  color: inherit;
}
main div[class*="-wrap"].latest-news-wrap h3 {
  padding-top: 2em;
  margin-top: 5.2em;
}
main div[class*="-wrap"].latest-news-wrap h3:before {
  background: url("http://www.waimate.org.nz/__data/assets/image/0018/9315/iconic.png?v=0.1.1") transparent no-repeat left -94px;
  left: 0;
  top: 89px;
}
main div[class*="-wrap"].latest-news-wrap h3 span {
  background: #00808d;
}
main div[class*="-wrap"].latest-news-wrap h4 {
  color: #00808d;
}
main div[class*="-wrap"].latest-news-wrap .scroller-controls a:hover, main div[class*="-wrap"].latest-news-wrap .scroller-controls a.active {
  background: #00808d;
}
main div[class*="-wrap"].events-wrap a {
  color: inherit;
}
main div[class*="-wrap"].events-wrap h3:before {
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
  background: url("http://www.waimate.org.nz/__data/assets/image/0018/9315/iconic.png?v=0.1.1?v=0.0.2") no-repeat scroll 0 -195px rgba(0, 0, 0, 0);
  left: -385px;
}
main div[class*="-wrap"].events-wrap h3 span {
  background: #654c79;
}
main div[class*="-wrap"].events-wrap h4 {
  color: #654c79;
}
main div[class*="-wrap"].events-wrap .scroller-controls a:hover, main div[class*="-wrap"].events-wrap .scroller-controls a.active {
  background: #654c79;
}
main div[class*="-wrap"] .scroller-controls {
  position: absolute;
  bottom: 0;
  border-top: 1px solid #ebecee;
  padding-top: 1em;
  width: 100%;
}
main div[class*="-wrap"] .scroller-controls a {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #ecf0f1;
  margin-left: 1em;
}
.latest-news-wrap main div[class*="-wrap"] .scroller-controls a:hover, .latest-news-wrap main div[class*="-wrap"] .scroller-controls a.active {
  background: #00808d;
}
main div[class*="-wrap"] > a {
  position: absolute;
  bottom: 0;
  text-transform: uppercase;
  color: black;
  font-family: MerriweatherLight;
  right: 0;
  margin-bottom: 1em;
}
main #search_page_10743 #queries_keyword_query {
  height: 2.7em;
  margin-left: 2%;
}

#alert-banner {
  background: #cd2723;
  color: white;
}
#alert-banner > div {
  position: relative;
}
#alert-banner h2 {
  font-family: MerriweatherLight;
  font-size: 24.0px;
  text-transform: uppercase;
  padding: 20px 0 20px 50px;
  margin: 0;
  width: auto;
  position: relative;
}
#alert-banner h2:before {
  font-family: fontawesome;
  font-family: FontAwesome;
  font-size: 30.0px;
  font-weight: normal;
  font-style: normal;
  text-decoration: inherit;
  -webkit-font-smoothing: antialiased;
  *margin-right: .3em;
  content: "\f071";
  display: block;
  position: absolute;
  left: 0;
}
.old_ie #alert-banner h2:before {
  font-family: FontAwesome;
  font-size: 30.0px;
  font-weight: normal;
  font-style: normal;
  text-decoration: inherit;
  -webkit-font-smoothing: antialiased;
  *margin-right: .3em;
  *zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf071;');
}
#alert-banner a {
  color: inherit;
  font-family: MerriweatherLight;
  font-size: 20.0px;
  padding: 20px 0;
  display: block;
}
#alert-banner .close-btn {
  position: absolute;
  height: 40px;
  width: 40px;
  right: 2%;
  top: -0.5em;
  display: block;
  cursor: pointer;
}
#alert-banner .close-btn span {
  background: none repeat scroll 0 0 #FFFFFF;
  float: left;
  height: 40px;
  width: 1px;
  position: absolute;
  left: 20px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
#alert-banner .close-btn span:first-child {
  -webkit-transform: rotate(-45deg) translate(2px, 2px);
  -moz-transform: rotate(-45deg) translate(2px, 2px);
  -ms-transform: rotate(-45deg) translate(2px, 2px);
  -o-transform: rotate(-45deg) translate(2px, 2px);
  transform: rotate(-45deg) translate(2px, 2px);
}

header {
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

header a {
  color: #302e33;
}

#logo,
.photo-caption {
  margin: 3em 0 2em;
  font-size: 17.0px;
  letter-spacing: 2.5px;
}
#logo a,
.photo-caption a {
  color: white;
  display: block;
}
#logo a:hover,
.photo-caption a:hover {
  text-decoration: none;
}
#logo span,
.photo-caption span {
  *zoom: 1;
  display: block;
}
#logo span:before, #logo span:after,
.photo-caption span:before,
.photo-caption span:after {
  display: table;
  content: "";
  line-height: 0;
}
#logo span:after,
.photo-caption span:after {
  clear: both;
}

#logo span {
  letter-spacing: 3.5px;
}
#logo span.special-caps {
  font-size: 39px;
  margin-bottom: 4px;
}

nav {
  font-family: MerriweatherLight;
}
nav #weather-short {
  color: white;
  font-size: 11.0px;
}
nav #tertiary-nav {
  font-size: 12.0px;
}
nav #tertiary-nav a {
  color: white;
}
nav#global-nav {
  font-size: 17.0px;
  color: white;
}
nav#global-nav ul ul a {
  color: white;
  font-size: 13px;
}
nav#global-nav ul h2 {
  font-size: 13px;
}
nav#global-nav ul h2 span {
  font-size: 17.0px;
  color: #ffc40c;
}
nav#global-nav ul h3 {
  color: #ffc40c;
  font-size: 13px;
}

#search-form {
  font-family: MerriweatherLight;
}
#search-form a {
  color: white;
  font-size: 10.0px;
  margin-top: 1em;
}

header {
  position: relative;
}
.home header, .landing header {
  min-height: 580px;
}
header li {
  list-style-type: none;
  float: left;
}
header a {
  color: #302e33;
}

#utility-nav {
  padding-left: 0;
  margin: 0;
}

#tertiary-nav {
  margin: 0;
  padding: 0 0 0 2em;
  height: 43px;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background-color: rgba(23, 51, 99, 0.5);
}
#tertiary-nav li {
  float: left;
  padding: 0.8em 1.5em;
}
#tertiary-nav li.weather {
  padding: 0;
}
#tertiary-nav li.quick-search {
  padding: 0;
  width: 0;
}

#weather-short {
  margin: 0 0 0 0;
}
#weather-short ul {
  border-left: white 1px solid;
  padding: 0;
  float: left;
}
#weather-short li {
  width: 44px;
  min-height: 35px;
  padding: 0;
  border-right: 1px solid white;
  text-align: center;
  line-height: 15px;
  padding: 0.5em 0 0.2em;
}
#weather-short li.description {
  background: url("http://www.waimate.org.nz/__data/assets/image/0004/9319/weather-sprite-white.png?v=0.1.1") transparent no-repeat center center;
  border-right: none;
}
#weather-short li.description.Cloud {
  background-position: center -190px;
}
#weather-short li.description.Drizzle {
  background-position: center -110px;
}
#weather-short li.description.FewShowers {
  background-position: center 10px;
}
#weather-short li.description.Fine {
  background-position: center -390px;
}
#weather-short li.description.Fog {
  background-position: center -230px;
}
#weather-short li.description.Hail {
  background-position: center -150px;
}
#weather-short li.description.PartCloudy {
  background-position: center -350px;
}
#weather-short li.description.Rain {
  background-position: center -70px;
}
#weather-short li.description.Showers {
  background-position: center -30px;
}
#weather-short li.description.Snow {
  background-position: center -270px;
}
#weather-short li.description.SunRain {
  background-position: center -310px;
}
#weather-short li.description.Thunder {
  background-position: center -430px;
}
#weather-short li.description.Wind {
  background-position: center -470px;
}

#search-form {
  margin-top: 30px;
  width: 80%;
  position: absolute;
  right: 0;
  top: 4em;
}
#search-form fieldset {
  border: none;
  padding: 0;
  margin: 0;
}
#search-form fieldset input[type="search"] {
  background: transparent;
  border: none;
  border-bottom: 3px solid #fff;
  float: left;
  width: 100%;
  color: white;
}
#search-form fieldset input[type="search"]:focus {
  outline: none;
}
#search-form fieldset input[type="search"]::-webkit-input-placeholder {
  color: white;
}
#search-form fieldset input[type="search"]::-moz-placeholder {
  color: white;
}
#search-form fieldset input[type="search"]:-ms-input-placeholder {
  color: white;
}
#search-form fieldset input[type="submit"] {
  border: none;
  background: none;
  color: white;
  font-weight: 200;
  float: right;
  margin-top: -1.9em;
  padding: 0;
  letter-spacing: 1px;
}

#global-nav {
  position: relative;
}

#primary-nav {
  padding: 0;
  margin: 1em 0 0 0;
}
#primary-nav a {
  display: block;
  padding: 1em 0;
}
#primary-nav:before, #primary-nav:after {
  content: "";
  /*width: 3%;*/
  display: block;
  height: 3.10em;
  float: left;
  background: #ffc40c;
}
#primary-nav > li {
  text-align: center;
}
#primary-nav > li#section_1, #primary-nav > li#section_2, #primary-nav > li#section_3 {
  width: 11%;
}
#primary-nav > li#section_4, #primary-nav > li#section_5 {
  width: 17%;
}
#primary-nav > li#section_6 {
  width: 18%;
}
#primary-nav > li#section_7 {
  width: 15%;
}
#primary-nav > li > a {
  background: #ffc40c;
}
#primary-nav > li a:hover, #primary-nav > li.open > a {
  background: #222222;
  color: #ffc40c;
  text-decoration: none;
}
#primary-nav .open .menu-panel {
  opacity: 100;
  z-index: 10;
  transition: opacity 0.5s ease-in-out 0s;
}
#primary-nav .menu-panel {
  padding: 1em 5%;
  background: #222222;
  position: absolute;
  left: 0;
  z-index: -1;
  height: auto;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.5s ease-in-out 0s;
}
#primary-nav .menu-panel h2 {
  float: left;
  text-align: left;
}
#primary-nav .menu-panel h2 span {
  margin-right: 2em;
}
#primary-nav .menu-panel h3, #primary-nav .menu-panel li {
  position: relative;
  float: left;
  text-align: left;
}
#primary-nav .menu-panel h3 {
  padding-top: 0.8em;
}
#primary-nav .menu-panel > ul > li {
  padding: 0.3em 0;
}
#primary-nav .menu-panel > ul > li:nth-child(4n+1) {
  margin-left: 0;
}
#primary-nav .menu-panel > ul > li:nth-child(4n+1):before {
  display: block;
  height: 1px;
  background: #ffc40c;
  content: "";
  width: 1400px;
  margin: 0.5em 0 0 -100px;
  position: absolute;
}
#primary-nav .menu-panel ul > li > ul > li {
  line-height: 9.5px;
  width: 100%;
}
#primary-nav .menu-panel ul > li > ul > li a {
  padding: 0.5em 0;
}
#primary-nav .menu-panel ul > li > ul > li a:hover {
  background: none;
  text-decoration: underline;
  color: inherit;
}
.scrolling.azlist #primary-nav .menu-panel {
  padding-top: 4em;
}

h2.photo-caption {
  background: black;
  color: white;
  padding: 1em;
  text-transform: uppercase;
  width: 40%;
  text-align: center;
  display: none;
  font-family: MerriweatherLight;
}
#id8674 h2.photo-caption {
  margin: 15em auto 3em;
  display: block;
}
.landing h2.photo-caption {
  margin: 8em auto 0;
  display: block;
}
h2.photo-caption span {
  text-transform: none;
  font-size: 22.0px;
  font-family: Myra4FCaps;
}

.scrolling header #utility-nav #logo {
  margin: 0.5em 0.2em;
  padding-top: 0.5em;
  position: fixed;
  z-index: 301;
  top: 0;
  font-size: 13px;
  line-height: 1em;
}
.scrolling header #utility-nav #logo a {
  color: #302e33;
}
.scrolling header #utility-nav #logo span.special-caps {
  font-size: 30.0px;
}
.scrolling header #tertiary-nav {
  visibility: hidden;
  z-index: -1;
}
.scrolling header #primary-nav {
  margin-top: 0;
  z-index: 300;
  position: fixed;
  top: 0;
  left: 0;
  padding: 0 3% 0 20%;
  background: #ffc40c;
}
.scrolling header #primary-nav .menu-panel {
  left: 6%;
  top: -600px;
}
.scrolling header #primary-nav .open .menu-panel {
  top: auto;
  width: 94%;
  left: 16.7%;
}

#breadcrumbs {
  font-family: MerriweatherLight;
  padding-bottom: 0.5em;
  padding-top: 2.5em;
  padding-bottom: 2.5em;
  background: white;
}
#breadcrumbs > ul.nav-links {
  float: left;
  padding: 0;
  margin: 0;
  list-style: none;
}
#breadcrumbs > ul.nav-links > li {
  float: left;
  padding-left: 8px;
  padding-right: 10px;
  border-right: 1px solid #302e33;
  list-style: none;
  font-size: 10.0px;
  line-height: 10.0px;
}
#breadcrumbs > ul.nav-links > li.active {
  border-right: none;
}
#breadcrumbs > ul.nav-links > li.active > a {
  font-family: MerriweatherBold;
}
#breadcrumbs > ul.nav-links > li > a {
  color: #302e33;
  font-size: 10.0px;
}
#breadcrumbs > ul.nav-links > li > a:focus, #breadcrumbs > ul.nav-links > li > a:active {
  font-family: MerriweatherRegular;
}

/* visually hide left column on homepage */
#id2529 #left-column {
  display: none;
}

#secondary-nav > h1 {
  display: block;
  position: relative;
  z-index: 1;
  padding: 1.0em 0.5em;
  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  color: #00808d;
  font-family: MerriweatherRegular;
  font-size: 20.0px;
  font-weight: normal;
  text-transform: uppercase;
  line-height: 1.5em;
  letter-spacing: 1px;
}
#secondary-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
#secondary-nav .current > a {
  background: #c8cdb8;
}
#secondary-nav .parent > a {
  border-bottom: none;
}
#secondary-nav .second-level li,
#secondary-nav .third-level li,
#secondary-nav .fourth-level li,
#secondary-nav .fifth-level li,
#secondary-nav .sixth-level li {
  display: none;
}
#secondary-nav .second-level.parent,
#secondary-nav .third-level.parent,
#secondary-nav .fourth-level.parent,
#secondary-nav .fifth-level.parent,
#secondary-nav .sixth-level.parent {
  display: list-item;
}
#secondary-nav .second-level.parent > ul > li,
#secondary-nav .third-level.parent > ul > li,
#secondary-nav .fourth-level.parent > ul > li,
#secondary-nav .fifth-level.parent > ul > li,
#secondary-nav .sixth-level.parent > ul > li {
  display: list-item;
}
#secondary-nav .second-level.parent > ul li.dl-back,
#secondary-nav .third-level.parent > ul li.dl-back,
#secondary-nav .fourth-level.parent > ul li.dl-back,
#secondary-nav .fifth-level.parent > ul li.dl-back,
#secondary-nav .sixth-level.parent > ul li.dl-back {
  display: none;
}
#secondary-nav .second-level.current,
#secondary-nav .third-level.current,
#secondary-nav .fourth-level.current,
#secondary-nav .fifth-level.current,
#secondary-nav .sixth-level.current {
  display: list-item;
}
#secondary-nav .second-level.current > ul > li,
#secondary-nav .third-level.current > ul > li,
#secondary-nav .fourth-level.current > ul > li,
#secondary-nav .fifth-level.current > ul > li,
#secondary-nav .sixth-level.current > ul > li {
  display: list-item;
}
#secondary-nav .second-level.current > ul > li li,
#secondary-nav .third-level.current > ul > li li,
#secondary-nav .fourth-level.current > ul > li li,
#secondary-nav .fifth-level.current > ul > li li,
#secondary-nav .sixth-level.current > ul > li li {
  display: none;
}
#secondary-nav .second-level.current li.dl-back,
#secondary-nav .third-level.current li.dl-back,
#secondary-nav .fourth-level.current li.dl-back,
#secondary-nav .fifth-level.current li.dl-back,
#secondary-nav .sixth-level.current li.dl-back {
  display: none;
}
#secondary-nav > ul > li {
  display: none;
}
#secondary-nav > ul > li.parent, #secondary-nav > ul > li.current {
  display: list-item;
}
#secondary-nav > ul > li > a {
  display: none;
}
#secondary-nav > ul > li > ul > li {
  padding: 0;
  margin: 0;
}
#secondary-nav > ul > li > ul > li:hover + li.current > a {
  z-index: 0;
}
#secondary-nav > ul > li > ul > li > a {
  display: block;
  padding: 1em 2.0em 1em 1.5em;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-color: #dfe2d6;
  color: #654c79;
  font-family: MerriweatherLight;
  font-size: 16.0px;
  background: #ecf0f1;
}
#secondary-nav > ul > li > ul > li > a:last-child {
  border-bottom-width: 0;
}
#secondary-nav > ul > li > ul > li > a:hover {
  text-decoration: underline;
}
#secondary-nav > ul > li > ul > li.current > a, #secondary-nav > ul > li > ul > li.parent > a {
  border-top: white 1px solid;
  background: #dfe2d6;
}
#secondary-nav > ul > li > ul > li > ul {
  padding: 0;
  margin: 0;
}
#secondary-nav > ul > li > ul > li > ul > li {
  background: #dfe2d6;
}
#secondary-nav > ul > li > ul > li > ul > li > a {
  display: block;
  padding: 0.6em 2.5em 0.6em 1.8em;
  color: #302e33;
  font-family: inherit;
  font-size: 13px;
  font-family: MerriweatherLight;
}
#secondary-nav > ul > li > ul > li > ul > li > a:hover {
  text-decoration: underline;
}
#secondary-nav > ul > li > ul > li > ul > li.parent > a, #secondary-nav > ul > li > ul > li > ul > li.current > a {
  font-family: MerriweatherBold;
  color: #654c79;
}
#secondary-nav > ul > li > ul > li > ul > li > ul {
  padding: 0;
  margin: 0;
}
#secondary-nav > ul > li > ul > li > ul > li > ul > li > a {
  display: block;
  padding: 0.6em 1.5em 0.6em 3em;
  color: #302e33;
  font-family: MerriweatherLight;
  font-size: 13px;
}
#secondary-nav > ul > li > ul > li > ul > li > ul > li > a:hover {
  text-decoration: underline;
}
#secondary-nav > ul > li > ul > li > ul > li > ul > li.parent > a, #secondary-nav > ul > li > ul > li > ul > li > ul > li.current > a {
  font-family: MerriweatherBold;
  color: #654c79;
}
#secondary-nav > ul > li > ul > li > ul > li > ul > li > ul {
  padding: 0;
  margin: 0;
}
#secondary-nav > ul > li > ul > li > ul > li > ul > li > ul > li > a {
  display: block;
  padding: 0.6em 1.5em 0.6em 4em;
  color: #302e33;
  font-family: MerriweatherLight;
  font-size: 13px;
}
#secondary-nav > ul > li > ul > li > ul > li > ul > li > ul > li.parent > a, #secondary-nav > ul > li > ul > li > ul > li > ul > li > ul > li.current > a {
  font-family: MerriweatherBold;
  color: #654c79;
}
#secondary-nav > ul > li > ul > li > ul > li > ul > li > ul > li > ul {
  padding: 0;
  margin: 0;
}
#secondary-nav > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > a {
  display: block;
  padding: 0.6em 1.5em 0.6em 5.0em;
  color: #302e33;
  font-family: MerriweatherLight;
  font-size: 13px;
}
#secondary-nav > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li.parent > a, #secondary-nav > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li.current > a {
  font-family: MerriweatherBold;
  color: #654c79;
}

@media (min-width: 768px) {
  #secondary-nav .dl-back {
    display: none;
  }
  #secondary-nav a {
    position: relative;
    z-index: 0;
  }
  #secondary-nav a:hover {
    z-index: 1;
    text-decoration: none;
  }
  #secondary-nav a:focus, #secondary-nav a:active {
    text-decoration: none;
    outline: 1px dotted #bf460a;
  }
}
@media (max-width: 767px) {
  /* Animation classes for moving out and in mobile menu */
  .dl-menu.dl-animate-out-1 {
    -webkit-animation: MenuAnimOut1 0.4s;
    -moz-animation: MenuAnimOut1 0.4s;
    -ms-animation: MenuAnimOut1 0.4s;
    animation: MenuAnimOut1 0.4s;
  }

  .dl-menu.dl-animate-out-2 {
    -webkit-animation: MenuAnimOut2 0.3s ease-in-out;
    -moz-animation: MenuAnimOut2 0.3s ease-in-out;
    -ms-animation: MenuAnimOut2 0.3s ease-in-out;
    animation: MenuAnimOut2 0.3s ease-in-out;
  }

  .dl-menu.dl-animate-out-3 {
    -webkit-animation: MenuAnimOut3 0.4s ease;
    -moz-animation: MenuAnimOut3 0.4s ease;
    -ms-animation: MenuAnimOut3 0.4s ease;
    animation: MenuAnimOut3 0.4s ease;
  }

  .dl-menu.dl-animate-out-4 {
    -webkit-animation: MenuAnimOut4 0.4s ease;
    -moz-animation: MenuAnimOut4 0.4s ease;
    -ms-animation: MenuAnimOut4 0.4s ease;
    animation: MenuAnimOut4 0.4s ease;
  }

  .dl-menu.dl-animate-out-5 {
    -webkit-animation: MenuAnimOut5 0.4s ease;
    -moz-animation: MenuAnimOut5 0.4s ease;
    -ms-animation: MenuAnimOut5 0.4s ease;
    animation: MenuAnimOut5 0.4s ease;
  }

  @-webkit-keyframes MenuAnimOut1 {
    50% {
      -webkit-transform: translateZ(-250px) rotateY(30deg);
    }

    75% {
      -webkit-transform: translateZ(-372.5px) rotateY(15deg);
      opacity: .5;
    }

    100% {
      -webkit-transform: translateZ(-500px) rotateY(0deg);
      opacity: 0;
    }
}

  @-webkit-keyframes MenuAnimOut2 {
    100% {
      -webkit-transform: translateX(-100%);
      opacity: 0;
    }
}

  @-webkit-keyframes MenuAnimOut3 {
    100% {
      -webkit-transform: translateZ(300px);
      opacity: 0;
    }
}

  @-webkit-keyframes MenuAnimOut4 {
    100% {
      -webkit-transform: translateZ(-300px);
      opacity: 0;
    }
}

  @-webkit-keyframes MenuAnimOut5 {
    100% {
      -webkit-transform: translateY(40%);
      opacity: 0;
    }
}

  @-moz-keyframes MenuAnimOut1 {
    50% {
      -moz-transform: translateZ(-250px) rotateY(30deg);
    }

    75% {
      -moz-transform: translateZ(-372.5px) rotateY(15deg);
      opacity: .5;
    }

    100% {
      -moz-transform: translateZ(-500px) rotateY(0deg);
      opacity: 0;
    }
}

  @-moz-keyframes MenuAnimOut2 {
    100% {
      -moz-transform: translateX(-100%);
      opacity: 0;
    }
}

  @-moz-keyframes MenuAnimOut3 {
    100% {
      -moz-transform: translateZ(300px);
      opacity: 0;
    }
}

  @-moz-keyframes MenuAnimOut4 {
    100% {
      -moz-transform: translateZ(-300px);
      opacity: 0;
    }
}

  @-moz-keyframes MenuAnimOut5 {
    100% {
      -moz-transform: translateY(40%);
      opacity: 0;
    }
}

  @-ms-keyframes MenuAnimOut1 {
    50% {
      -ms-transform: translateZ(-250px) rotateY(30deg);
    }

    75% {
      -ms-transform: translateZ(-372.5px) rotateY(15deg);
      opacity: .5;
    }

    100% {
      -ms-transform: translateZ(-500px) rotateY(0deg);
      opacity: 0;
    }
}

  @-ms-keyframes MenuAnimOut2 {
    100% {
      -ms-transform: translateX(-100%);
      opacity: 0;
    }
}

  @-ms-keyframes MenuAnimOut3 {
    100% {
      -ms-transform: translateZ(300px);
      opacity: 0;
    }
}

  @-ms-keyframes MenuAnimOut4 {
    100% {
      -ms-transform: translateZ(-300px);
      opacity: 0;
    }
}

  @-ms-keyframes MenuAnimOut5 {
    100% {
      -ms-transform: translateY(40%);
      opacity: 0;
    }
}

  @keyframes MenuAnimOut1 {
    50% {
      transform: translateZ(-250px) rotateY(30deg);
    }

    75% {
      transform: translateZ(-372.5px) rotateY(15deg);
      opacity: .5;
    }

    100% {
      transform: translateZ(-500px) rotateY(0deg);
      opacity: 0;
    }
}

  @keyframes MenuAnimOut2 {
    100% {
      transform: translateX(-100%);
      opacity: 0;
    }
}

  @keyframes MenuAnimOut3 {
    100% {
      transform: translateZ(300px);
      opacity: 0;
    }
}

  @keyframes MenuAnimOut4 {
    100% {
      transform: translateZ(-300px);
      opacity: 0;
    }
}

  @keyframes MenuAnimOut5 {
    100% {
      transform: translateY(40%);
      opacity: 0;
    }
}

  .dl-menu.dl-animate-in-1 {
    -webkit-animation: MenuAnimIn1 0.3s;
    -moz-animation: MenuAnimIn1 0.3s;
    -ms-animation: MenuAnimIn1 0.3s;
    animation: MenuAnimIn1 0.3s;
  }

  .dl-menu.dl-animate-in-2 {
    -webkit-animation: MenuAnimIn2 0.3s ease-in-out;
    -moz-animation: MenuAnimIn2 0.3s ease-in-out;
    -ms-animation: MenuAnimIn2 0.3s ease-in-out;
    animation: MenuAnimIn2 0.3s ease-in-out;
  }

  .dl-menu.dl-animate-in-3 {
    -webkit-animation: MenuAnimIn3 0.4s ease;
    -moz-animation: MenuAnimIn3 0.4s ease;
    -ms-animation: MenuAnimIn3 0.4s ease;
    animation: MenuAnimIn3 0.4s ease;
  }

  .dl-menu.dl-animate-in-4 {
    -webkit-animation: MenuAnimIn4 0.4s ease;
    -moz-animation: MenuAnimIn4 0.4s ease;
    -ms-animation: MenuAnimIn4 0.4s ease;
    animation: MenuAnimIn4 0.4s ease;
  }

  .dl-menu.dl-animate-in-5 {
    -webkit-animation: MenuAnimIn5 0.4s ease;
    -moz-animation: MenuAnimIn5 0.4s ease;
    -ms-animation: MenuAnimIn5 0.4s ease;
    animation: MenuAnimIn5 0.4s ease;
  }

  @-webkit-keyframes MenuAnimIn1 {
    0% {
      -webkit-transform: translateZ(-500px) rotateY(0deg);
      opacity: 0;
    }

    20% {
      -webkit-transform: translateZ(-250px) rotateY(30deg);
      opacity: 0.5;
    }

    100% {
      -webkit-transform: translateZ(0px) rotateY(0deg);
      opacity: 1;
    }
}

  @-webkit-keyframes MenuAnimIn2 {
    0% {
      -webkit-transform: translateX(-100%);
      opacity: 0;
    }

    100% {
      -webkit-transform: translateX(0px);
      opacity: 1;
    }
}

  @-webkit-keyframes MenuAnimIn3 {
    0% {
      -webkit-transform: translateZ(300px);
      opacity: 0;
    }

    100% {
      -webkit-transform: translateZ(0px);
      opacity: 1;
    }
}

  @-webkit-keyframes MenuAnimIn4 {
    0% {
      -webkit-transform: translateZ(-300px);
      opacity: 0;
    }

    100% {
      -webkit-transform: translateZ(0px);
      opacity: 1;
    }
}

  @-webkit-keyframes MenuAnimIn5 {
    0% {
      -webkit-transform: translateY(40%);
      opacity: 0;
    }

    100% {
      -webkit-transform: translateY(0);
      opacity: 1;
    }
}

  @-moz-keyframes MenuAnimIn1 {
    0% {
      -moz-transform: translateZ(-500px) rotateY(0deg);
      opacity: 0;
    }

    20% {
      -moz-transform: translateZ(-250px) rotateY(30deg);
      opacity: 0.5;
    }

    100% {
      -moz-transform: translateZ(0px) rotateY(0deg);
      opacity: 1;
    }
}

  @-moz-keyframes MenuAnimIn2 {
    0% {
      -moz-transform: translateX(-100%);
      opacity: 0;
    }

    100% {
      -moz-transform: translateX(0px);
      opacity: 1;
    }
}

  @-moz-keyframes MenuAnimIn3 {
    0% {
      -moz-transform: translateZ(300px);
      opacity: 0;
    }

    100% {
      -moz-transform: translateZ(0px);
      opacity: 1;
    }
}

  @-moz-keyframes MenuAnimIn4 {
    0% {
      -moz-transform: translateZ(-300px);
      opacity: 0;
    }

    100% {
      -moz-transform: translateZ(0px);
      opacity: 1;
    }
}

  @-moz-keyframes MenuAnimIn5 {
    0% {
      -moz-transform: translateY(40%);
      opacity: 0;
    }

    100% {
      -moz-transform: translateY(0);
      opacity: 1;
    }
}

  @-ms-keyframes MenuAnimIn1 {
    0% {
      -ms-transform: translateZ(-500px) rotateY(0deg);
      opacity: 0;
    }

    20% {
      -ms-transform: translateZ(-250px) rotateY(30deg);
      opacity: 0.5;
    }

    100% {
      -ms-transform: translateZ(0px) rotateY(0deg);
      opacity: 1;
    }
}

  @-ms-keyframes MenuAnimIn2 {
    0% {
      -ms-transform: translateX(-100%);
      opacity: 0;
    }

    100% {
      -ms-transform: translateX(0px);
      opacity: 1;
    }
}

  @-ms-keyframes MenuAnimIn3 {
    0% {
      -ms-transform: translateZ(300px);
      opacity: 0;
    }

    100% {
      -ms-transform: translateZ(0px);
      opacity: 1;
    }
}

  @-ms-keyframes MenuAnimIn4 {
    0% {
      -ms-transform: translateZ(-300px);
      opacity: 0;
    }

    100% {
      -ms-transform: translateZ(0px);
      opacity: 1;
    }
}

  @-ms-keyframes MenuAnimIn5 {
    0% {
      -ms-transform: translateY(40%);
      opacity: 0;
    }

    100% {
      -ms-transform: translateY(0);
      opacity: 1;
    }
}

  @keyframes MenuAnimIn1 {
    0% {
      transform: translateZ(-500px) rotateY(0deg);
      opacity: 0;
    }

    20% {
      transform: translateZ(-250px) rotateY(30deg);
      opacity: 0.5;
    }

    100% {
      transform: translateZ(0px) rotateY(0deg);
      opacity: 1;
    }
}

  @keyframes MenuAnimIn2 {
    0% {
      transform: translateX(-100%);
      opacity: 0;
    }

    100% {
      transform: translateX(0px);
      opacity: 1;
    }
}

  @keyframes MenuAnimIn3 {
    0% {
      transform: translateZ(300px);
      opacity: 0;
    }

    100% {
      transform: translateZ(0px);
      opacity: 1;
    }
}

  @keyframes MenuAnimIn4 {
    0% {
      transform: translateZ(-300px);
      opacity: 0;
    }

    100% {
      transform: translateZ(0px);
      opacity: 1;
    }
}

  @keyframes MenuAnimIn5 {
    0% {
      transform: translateY(40%);
      opacity: 0;
    }

    100% {
      transform: translateY(0);
      opacity: 1;
    }
}

  #secondary-nav > .dl-submenu.dl-animate-in-1 {
    -webkit-animation: SubMenuAnimIn1 0.4s ease;
    -moz-animation: SubMenuAnimIn1 0.4s ease;
    -ms-animation: SubMenuAnimIn1 0.4s ease;
    animation: SubMenuAnimIn1 0.4s ease;
  }

  #secondary-nav > .dl-submenu.dl-animate-in-2 {
    -webkit-animation: SubMenuAnimIn2 0.3s ease-in-out;
    -moz-animation: SubMenuAnimIn2 0.3s ease-in-out;
    -ms-animation: SubMenuAnimIn2 0.3s ease-in-out;
    animation: SubMenuAnimIn2 0.3s ease-in-out;
  }

  #secondary-nav > .dl-submenu.dl-animate-in-3 {
    -webkit-animation: SubMenuAnimIn3 0.4s ease;
    -moz-animation: SubMenuAnimIn3 0.4s ease;
    -ms-animation: SubMenuAnimIn3 0.4s ease;
    animation: SubMenuAnimIn3 0.4s ease;
  }

  #secondary-nav > .dl-submenu.dl-animate-in-4 {
    -webkit-animation: SubMenuAnimIn4 0.4s ease;
    -moz-animation: SubMenuAnimIn4 0.4s ease;
    -ms-animation: SubMenuAnimIn4 0.4s ease;
    animation: SubMenuAnimIn4 0.4s ease;
  }

  #secondary-nav > .dl-submenu.dl-animate-in-5 {
    -webkit-animation: SubMenuAnimIn5 0.4s ease;
    -moz-animation: SubMenuAnimIn5 0.4s ease;
    -ms-animation: SubMenuAnimIn5 0.4s ease;
    animation: SubMenuAnimIn5 0.4s ease;
  }

  @-webkit-keyframes SubMenuAnimIn1 {
    0% {
      -webkit-transform: translateX(50%);
      opacity: 0;
    }

    100% {
      -webkit-transform: translateX(0px);
      opacity: 1;
    }
}

  @-webkit-keyframes SubMenuAnimIn2 {
    0% {
      -webkit-transform: translateX(100%);
      opacity: 0;
    }

    100% {
      -webkit-transform: translateX(0px);
      opacity: 1;
    }
}

  @-webkit-keyframes SubMenuAnimIn3 {
    0% {
      -webkit-transform: translateZ(-300px);
      opacity: 0;
    }

    100% {
      -webkit-transform: translateZ(0px);
      opacity: 1;
    }
}

  @-webkit-keyframes SubMenuAnimIn4 {
    0% {
      -webkit-transform: translateZ(300px);
      opacity: 0;
    }

    100% {
      -webkit-transform: translateZ(0px);
      opacity: 1;
    }
}

  @-webkit-keyframes SubMenuAnimIn5 {
    0% {
      -webkit-transform: translateZ(-200px);
      opacity: 0;
    }

    100% {
      -webkit-transform: translateZ(0);
      opacity: 1;
    }
}

  @-moz-keyframes SubMenuAnimIn1 {
    0% {
      -moz-transform: translateX(50%);
      opacity: 0;
    }

    100% {
      -moz-transform: translateX(0px);
      opacity: 1;
    }
}

  @-moz-keyframes SubMenuAnimIn2 {
    0% {
      -moz-transform: translateX(100%);
      opacity: 0;
    }

    100% {
      -moz-transform: translateX(0px);
      opacity: 1;
    }
}

  @-moz-keyframes SubMenuAnimIn3 {
    0% {
      -moz-transform: translateZ(-300px);
      opacity: 0;
    }

    100% {
      -moz-transform: translateZ(0px);
      opacity: 1;
    }
}

  @-moz-keyframes SubMenuAnimIn4 {
    0% {
      -moz-transform: translateZ(300px);
      opacity: 0;
    }

    100% {
      -moz-transform: translateZ(0px);
      opacity: 1;
    }
}

  @-moz-keyframes SubMenuAnimIn5 {
    0% {
      -moz-transform: translateZ(-200px);
      opacity: 0;
    }

    100% {
      -moz-transform: translateZ(0);
      opacity: 1;
    }
}

  @-ms-keyframes SubMenuAnimIn1 {
    0% {
      -ms-transform: translateX(50%);
      opacity: 0;
    }

    100% {
      -ms-transform: translateX(0px);
      opacity: 1;
    }
}

  @-ms-keyframes SubMenuAnimIn2 {
    0% {
      -ms-transform: translateX(100%);
      opacity: 0;
    }

    100% {
      -ms-transform: translateX(0px);
      opacity: 1;
    }
}

  @-ms-keyframes SubMenuAnimIn3 {
    0% {
      -ms-transform: translateZ(-300px);
      opacity: 0;
    }

    100% {
      -ms-transform: translateZ(0px);
      opacity: 1;
    }
}

  @-ms-keyframes SubMenuAnimIn4 {
    0% {
      -ms-transform: translateZ(300px);
      opacity: 0;
    }

    100% {
      -ms-transform: translateZ(0px);
      opacity: 1;
    }
}

  @-ms-keyframes SubMenuAnimIn5 {
    0% {
      -ms-transform: translateZ(-200px);
      opacity: 0;
    }

    100% {
      -ms-transform: translateZ(0);
      opacity: 1;
    }
}

  @keyframes SubMenuAnimIn1 {
    0% {
      transform: translateX(50%);
      opacity: 0;
    }

    100% {
      transform: translateX(0px);
      opacity: 1;
    }
}

  @keyframes SubMenuAnimIn2 {
    0% {
      transform: translateX(100%);
      opacity: 0;
    }

    100% {
      transform: translateX(0px);
      opacity: 1;
    }
}

  @keyframes SubMenuAnimIn3 {
    0% {
      transform: translateZ(-300px);
      opacity: 0;
    }

    100% {
      transform: translateZ(0px);
      opacity: 1;
    }
}

  @keyframes SubMenuAnimIn4 {
    0% {
      transform: translateZ(300px);
      opacity: 0;
    }

    100% {
      transform: translateZ(0px);
      opacity: 1;
    }
}

  @keyframes SubMenuAnimIn5 {
    0% {
      transform: translateZ(-200px);
      opacity: 0;
    }

    100% {
      transform: translateZ(0);
      opacity: 1;
    }
}

  #secondary-nav > .dl-submenu.dl-animate-out-1 {
    -webkit-animation: SubMenuAnimOut1 0.4s ease;
    -moz-animation: SubMenuAnimOut1 0.4s ease;
    -ms-animation: SubMenuAnimOut1 0.4s ease;
    animation: SubMenuAnimOut1 0.4s ease;
  }

  #secondary-nav > .dl-submenu.dl-animate-out-2 {
    -webkit-animation: SubMenuAnimOut2 0.3s ease-in-out;
    -moz-animation: SubMenuAnimOut2 0.3s ease-in-out;
    -ms-animation: SubMenuAnimOut2 0.3s ease-in-out;
    animation: SubMenuAnimOut2 0.3s ease-in-out;
  }

  #secondary-nav > .dl-submenu.dl-animate-out-3 {
    -webkit-animation: SubMenuAnimOut3 0.4s ease;
    -moz-animation: SubMenuAnimOut3 0.4s ease;
    -ms-animation: SubMenuAnimOut3 0.4s ease;
    animation: SubMenuAnimOut3 0.4s ease;
  }

  #secondary-nav > .dl-submenu.dl-animate-out-4 {
    -webkit-animation: SubMenuAnimOut4 0.4s ease;
    -moz-animation: SubMenuAnimOut4 0.4s ease;
    -ms-animation: SubMenuAnimOut4 0.4s ease;
    animation: SubMenuAnimOut4 0.4s ease;
  }

  #secondary-nav > .dl-submenu.dl-animate-out-5 {
    -webkit-animation: SubMenuAnimOut5 0.4s ease;
    -moz-animation: SubMenuAnimOut5 0.4s ease;
    -ms-animation: SubMenuAnimOut5 0.4s ease;
    animation: SubMenuAnimOut5 0.4s ease;
  }

  @-webkit-keyframes SubMenuAnimOut1 {
    0% {
      -webkit-transform: translateX(0%);
      opacity: 1;
    }

    100% {
      -webkit-transform: translateX(50%);
      opacity: 0;
    }
}

  @-webkit-keyframes SubMenuAnimOut2 {
    0% {
      -webkit-transform: translateX(0%);
      opacity: 1;
    }

    100% {
      -webkit-transform: translateX(100%);
      opacity: 0;
    }
}

  @-webkit-keyframes SubMenuAnimOut3 {
    0% {
      -webkit-transform: translateZ(0px);
      opacity: 1;
    }

    100% {
      -webkit-transform: translateZ(-300px);
      opacity: 0;
    }
}

  @-webkit-keyframes SubMenuAnimOut4 {
    0% {
      -webkit-transform: translateZ(0px);
      opacity: 1;
    }

    100% {
      -webkit-transform: translateZ(300px);
      opacity: 0;
    }
}

  @-webkit-keyframes SubMenuAnimOut5 {
    0% {
      -webkit-transform: translateZ(0);
      opacity: 1;
    }

    100% {
      -webkit-transform: translateZ(-200px);
      opacity: 0;
    }
}

  @-moz-keyframes SubMenuAnimOut1 {
    0% {
      -moz-transform: translateX(0%);
      opacity: 1;
    }

    100% {
      -moz-transform: translateX(50%);
      opacity: 0;
    }
}

  @-moz-keyframes SubMenuAnimOut2 {
    0% {
      -moz-transform: translateX(0%);
      opacity: 1;
    }

    100% {
      -moz-transform: translateX(100%);
      opacity: 0;
    }
}

  @-moz-keyframes SubMenuAnimOut3 {
    0% {
      -moz-transform: translateZ(0px);
      opacity: 1;
    }

    100% {
      -moz-transform: translateZ(-300px);
      opacity: 0;
    }
}

  @-moz-keyframes SubMenuAnimOut4 {
    0% {
      -moz-transform: translateZ(0px);
      opacity: 1;
    }

    100% {
      -moz-transform: translateZ(300px);
      opacity: 0;
    }
}

  @-moz-keyframes SubMenuAnimOut5 {
    0% {
      -moz-transform: translateZ(0);
      opacity: 1;
    }

    100% {
      -moz-transform: translateZ(-200px);
      opacity: 0;
    }
}

  @-ms-keyframes SubMenuAnimOut1 {
    0% {
      -ms-transform: translateX(0%);
      opacity: 1;
    }

    100% {
      -ms-transform: translateX(50%);
      opacity: 0;
    }
}

  @-ms-keyframes SubMenuAnimOut2 {
    0% {
      -ms-transform: translateX(0%);
      opacity: 1;
    }

    100% {
      -ms-transform: translateX(100%);
      opacity: 0;
    }
}

  @-ms-keyframes SubMenuAnimOut3 {
    0% {
      -ms-transform: translateZ(0px);
      opacity: 1;
    }

    100% {
      -ms-transform: translateZ(-300px);
      opacity: 0;
    }
}

  @-ms-keyframes SubMenuAnimOut4 {
    0% {
      -ms-transform: translateZ(0px);
      opacity: 1;
    }

    100% {
      -ms-transform: translateZ(300px);
      opacity: 0;
    }
}

  @-ms-keyframes SubMenuAnimOut5 {
    0% {
      -ms-transform: translateZ(0);
      opacity: 1;
    }

    100% {
      -ms-transform: translateZ(-200px);
      opacity: 0;
    }
}

  @keyframes SubMenuAnimOut1 {
    0% {
      transform: translateX(0%);
      opacity: 1;
    }

    100% {
      transform: translateX(50%);
      opacity: 0;
    }
}

  @keyframes SubMenuAnimOut2 {
    0% {
      transform: translateX(0%);
      opacity: 1;
    }

    100% {
      transform: translateX(100%);
      opacity: 0;
    }
}

  @keyframes SubMenuAnimOut3 {
    0% {
      transform: translateZ(0px);
      opacity: 1;
    }

    100% {
      transform: translateZ(-300px);
      opacity: 0;
    }
}

  @keyframes SubMenuAnimOut4 {
    0% {
      transform: translateZ(0px);
      opacity: 1;
    }

    100% {
      transform: translateZ(300px);
      opacity: 0;
    }
}

  @keyframes SubMenuAnimOut5 {
    0% {
      transform: translateZ(0);
      opacity: 1;
    }

    100% {
      transform: translateZ(-200px);
      opacity: 0;
    }
}
}
#nested-calendar {
  position: relative;
}
#nested-calendar h2 {
  color: #00808d;
  font-family: MerriweatherRegular;
  font-size: 20.0px;
  letter-spacing: 1px;
  line-height: 1.5em;
  margin: 0;
  padding: 1em 0.5em;
  position: relative;
  text-transform: uppercase;
}
#nested-calendar h3 {
  font-size: 17px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 0;
}
#nested-calendar .cal-nav > a {
  text-indent: -9999px;
  position: absolute;
  width: 100%;
}
#nested-calendar .cal-nav > a:after {
  display: block;
  height: 20px;
  position: absolute;
  top: -1.4em;
  font-family: fontawesome;
  font-size: 20.0px;
  color: #302e33;
}
#nested-calendar .cal-nav.next > a:after {
  content: "\f105";
  text-indent: 0;
  right: 1em;
}
.old_ie #nested-calendar .cal-nav.next > a:after {
  font-family: FontAwesome;
  font-size: 18.0px;
  font-weight: normal;
  font-style: normal;
  text-decoration: inherit;
  -webkit-font-smoothing: antialiased;
  *margin-right: .3em;
  *zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf105;');
}
#nested-calendar .cal-nav.next > a:hover:after {
  content: "\f101";
}
.old_ie #nested-calendar .cal-nav.next > a:hover:after {
  font-family: FontAwesome;
  font-size: 18.0px;
  font-weight: normal;
  font-style: normal;
  text-decoration: inherit;
  -webkit-font-smoothing: antialiased;
  *margin-right: .3em;
  *zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf101;');
}
#nested-calendar .cal-nav.prev > a:after {
  content: "\f104";
  text-indent: 0;
  left: 1em;
}
.old_ie #nested-calendar .cal-nav.prev > a:after {
  font-family: FontAwesome;
  font-size: 18.0px;
  font-weight: normal;
  font-style: normal;
  text-decoration: inherit;
  -webkit-font-smoothing: antialiased;
  *margin-right: .3em;
  *zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf104;');
}
#nested-calendar .cal-nav.prev > a:hover:after {
  content: "\f100";
}
.old_ie #nested-calendar .cal-nav.prev > a:hover:after {
  font-family: FontAwesome;
  font-size: 18.0px;
  font-weight: normal;
  font-style: normal;
  text-decoration: inherit;
  -webkit-font-smoothing: antialiased;
  *margin-right: .3em;
  *zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf100;');
}

#calendarTable table {
  width: 100% !important;
}
#calendarTable table th, #calendarTable table td {
  padding: 0;
  text-align: center;
}
#calendarTable table th {
  padding: 3% 2%;
}
#calendarTable table .eventDate {
  background: #0097a7;
}
#calendarTable table .eventDate a {
  color: white;
}
#calendarTable table .today {
  background: #725689;
}
#calendarTable table .today a {
  color: white;
}
#calendarTable table a {
  color: #302e33;
  display: block;
  width: 100%;
  height: 100%;
}

footer {
  background: url("http://www.waimate.org.nz/__data/assets/image/0016/9313/Waimate_fields.jpg?v=0.1.1") transparent no-repeat left bottom;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  color: white;
}
footer h1, footer h2, footer h3 {
  font-family: MerriweatherLight;
  font-size: 13px;
}
footer h3 {
  text-transform: uppercase;
}
footer ul {
  list-style: none;
}
footer .logo {
  font-family: MerriweatherLight;
  margin-top: 0;
}
footer .logo span {
  font-size: 22.0px;
}
footer #copyright {
  font-size: 10.0px;
  margin: 0.5em 0;
}
footer .footer-details {
  font-size: 11.0px;
  padding-top: 3.5em;
  padding-bottom: 2em;
  margin-bottom: 10em;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.8);
}
footer .footer-details ul {
  padding-left: 0;
}
footer .footer-details ul.span3 {
  width: 20%;
  margin-top: 0;
}
footer .footer-details ul.opening-hours span {
  margin-right: 3em;
}
footer .footer-details ul li {
  float: left;
}
footer .footer-details ul li span {
  color: #ffc40c;
}
footer .footer-details a {
  color: #ffc40c;
}
footer .footer-details .facilities-details > li {
  position: relative;
  padding-right: 4%;
}
footer .footer-details .facilities-details > li:before {
  width: 1px;
  height: 400px;
  background: #ffc40c;
  background-color: rgba(255, 196, 12, 0.5);
  content: "";
  display: block;
  float: left;
  position: absolute;
  top: -1em;
  left: -3em;
}
footer .footer-details .facilities-details > li:first-child {
  border-left: none;
}
footer .footer-details .facilities-details > li:first-child:before {
  width: 0;
  margin-right: 0;
}
footer .footer-details .facilities-details > li:last-child {
  padding-right: 0;
}
footer .footer-details .facilities-details ul {
  padding-left: 0;
}
footer .footer-details .facilities-details ul li {
  float: none;
  clear: left;
}
footer .footer-details .facilities-details ul h4 {
  margin-bottom: 0;
  color: #ffc40c;
  font-size: 11.0px;
  font-weight: normal;
}
footer .footer-details .facilities-details ul dl {
  padding-left: 1em;
  margin: 0 0 0.5em 0;
  float: left;
  width: 100%;
}
footer .footer-details .facilities-details ul dl dd, footer .footer-details .facilities-details ul dl dt {
  margin: 0;
  float: left;
}
footer .footer-details .facilities-details ul dl dd {
  width: 55%;
  margin-left: 4%;
}
footer .footer-details .facilities-details ul dl dt {
  width: 40%;
}
footer .footer-details .facilities-details ul dl:last-of-type {
  margin-bottom: 1.5em;
}
footer .footer-details .facilities-details:before {
  background: #ffc40c;
  background-color: rgba(255, 196, 12, 0.5);
  height: 1px;
  content: "";
  width: 1400px;
  margin: 0 0 1em -100px;
}
footer .footer-utilities {
  line-height: 19px;
  font-size: 12.0px;
  background-color: rgba(0, 0, 0, 0.8);
}
footer .footer-utilities a {
  color: white;
}
footer .footer-utilities a:hover {
  color: #f1f1f1;
}
footer .footer-utilities ul {
  margin: 0;
}
footer .footer-utilities ul li {
  padding: 0.5em 1em;
  float: left;
}
footer .footer-utilities ul li#nz-govt-link {
  background: white;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
footer .footer-utilities ul li#nz-govt-link img {
  width: 10em;
}

.nav-tabs {
  *zoom: 1;
  padding: 0 1.0em;
  list-style: none;
}
.nav-tabs:before, .nav-tabs:after {
  display: table;
  content: "";
  line-height: 0;
}
.nav-tabs:after {
  clear: both;
}

.nav-tabs > li {
  float: left;
}

.nav-tabs > li > a {
  padding-right: 12px;
  padding-left: 12px;
  margin-right: 2px;
  line-height: 14px;
}

.nav-tabs {
  border-bottom: 1px solid #ddd;
}

.nav-tabs > li {
  margin-bottom: -1px;
}

.nav-tabs > li > a {
  padding-top: 8px;
  padding-bottom: 8px;
  line-height: 19px;
  border: 1px solid transparent;
  -webkit-border-radius: 4px 4px 0 0;
  -moz-border-radius: 4px 4px 0 0;
  border-radius: 4px 4px 0 0;
}
.nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
  border-color: #ebecee #ebecee #dddddd;
}

.nav-tabs > .active > a,
.nav-tabs > .active > a:hover,
.nav-tabs > .active > a:focus {
  color: #888888;
  border: 1px solid #ddd;
  border-bottom-color: transparent;
  cursor: default;
}

.nav-tabs {
  border-bottom: 2px solid #e1e1e1;
  margin-bottom: 0;
  -webkit-box-shadow: rgba(255, 255, 255, 0.75) 0 1px 0;
  -moz-box-shadow: rgba(255, 255, 255, 0.75) 0 1px 0;
  box-shadow: rgba(255, 255, 255, 0.75) 0 1px 0;
}
.nav-tabs > li > a {
  display: block;
}
.nav-tabs > li > a, .nav-tabs > li > a:focus, .nav-tabs > li > a:active {
  background: none;
  border: none;
  color: #999999;
  font-size: 13px;
  margin-bottom: -1px;
  padding: 3px 15px;
  outline: none;
  text-decoration: none;
}
.nav-tabs > li > a:hover {
  background: none;
  color: #444;
}
.nav-tabs > .active > a, .nav-tabs > .active > a:focus, .nav-tabs > .active > a:active, .nav-tabs > .active > a:hover {
  background: none;
  border: none;
  border-bottom: 2px solid #ffcb2b;
  color: #444;
}

.tabs-below .nav-tabs {
  border-top: 2px solid #e1e1e1;
  -webkit-box-shadow: rgba(255, 255, 255, 0.75) 0 1px 0 inset;
  -moz-box-shadow: rgba(255, 255, 255, 0.75) 0 1px 0 inset;
  box-shadow: rgba(255, 255, 255, 0.75) 0 1px 0 inset;
}
.tabs-below .nav-tabs > li > a {
  margin-bottom: 0;
  margin-top: -1px;
  padding: 4px 15px;
}
.tabs-below .nav-tabs > .active > a, .tabs-below .nav-tabs > .active > a:hover {
  border: none;
  border-top: 2px solid #ffcb2b;
  padding-top: 2px;
}

.tabs-left .nav-tabs {
  border-right: 2px solid #e1e1e1;
  -webkit-box-shadow: rgba(255, 255, 255, 0.75) 1px 0 0;
  -moz-box-shadow: rgba(255, 255, 255, 0.75) 1px 0 0;
  box-shadow: rgba(255, 255, 255, 0.75) 1px 0 0;
}
.tabs-left .nav-tabs > li > a {
  margin-bottom: 0;
  margin-right: -2px;
}
.tabs-left .nav-tabs > .active > a, .tabs-left .nav-tabs > .active > a:hover {
  border: none;
  border-right: 2px solid #ffcb2b;
  padding-right: 13px;
}

.tabs-right .nav-tabs {
  border-left: 2px solid #e1e1e1;
  -webkit-box-shadow: rgba(255, 255, 255, 0.75) 1px 0 0 inset;
  -moz-box-shadow: rgba(255, 255, 255, 0.75) 1px 0 0 inset;
  box-shadow: rgba(255, 255, 255, 0.75) 1px 0 0 inset;
}
.tabs-right .nav-tabs > li > a {
  margin-bottom: 0;
  margin-left: -2px;
}
.tabs-right .nav-tabs > .active > a, .tabs-right .nav-tabs > .active > a:hover {
  border: none;
  border-left: 2px solid #ffcb2b;
  padding-left: 13px;
}

.tabbable {
  *zoom: 1;
}
.tabbable:before, .tabbable:after {
  display: table;
  content: "";
  line-height: 0;
}
.tabbable:after {
  clear: both;
}

.tab-content {
  overflow: auto;
}

.tabs-below > .nav-tabs,
.tabs-right > .nav-tabs,
.tabs-left > .nav-tabs {
  border-bottom: 0;
}

.tab-content > .tab-pane {
  display: none;
}

.tab-content > .active {
  display: block;
}

.tabs-below > .nav-tabs {
  border-top: 1px solid #ddd;
}

.tabs-below > .nav-tabs > li {
  margin-top: -1px;
  margin-bottom: 0;
}

.tabs-below > .nav-tabs > li > a {
  -webkit-border-radius: 0 0 4px 4px;
  -moz-border-radius: 0 0 4px 4px;
  border-radius: 0 0 4px 4px;
}
.tabs-below > .nav-tabs > li > a:hover, .tabs-below > .nav-tabs > li > a:focus {
  border-bottom-color: transparent;
  border-top-color: #ddd;
}

.tabs-below > .nav-tabs > .active > a,
.tabs-below > .nav-tabs > .active > a:hover,
.tabs-below > .nav-tabs > .active > a:focus {
  border-color: transparent #ddd #ddd #ddd;
}

.tabs-left > .nav-tabs > li,
.tabs-right > .nav-tabs > li {
  float: none;
}

.tabs-left > .nav-tabs > li > a,
.tabs-right > .nav-tabs > li > a {
  min-width: 74px;
  margin-right: 0;
  margin-bottom: 3px;
}

.tabs-left > .nav-tabs {
  float: left;
  margin-right: 19px;
  border-right: 1px solid #ddd;
}

.tabs-left > .nav-tabs > li > a {
  margin-right: -1px;
  -webkit-border-radius: 4px 0 0 4px;
  -moz-border-radius: 4px 0 0 4px;
  border-radius: 4px 0 0 4px;
}

.tabs-left > .nav-tabs > li > a:hover,
.tabs-left > .nav-tabs > li > a:focus {
  border-color: #ebecee #dddddd #ebecee #ebecee;
}

.tabs-left > .nav-tabs .active > a,
.tabs-left > .nav-tabs .active > a:hover,
.tabs-left > .nav-tabs .active > a:focus {
  border-color: #ddd transparent #ddd #ddd;
  *border-right-color: white;
}

.tabs-right > .nav-tabs {
  float: right;
  margin-left: 19px;
  border-left: 1px solid #ddd;
}

.tabs-right > .nav-tabs > li > a {
  margin-left: -1px;
  -webkit-border-radius: 0 4px 4px 0;
  -moz-border-radius: 0 4px 4px 0;
  border-radius: 0 4px 4px 0;
}

.tabs-right > .nav-tabs > li > a:hover,
.tabs-right > .nav-tabs > li > a:focus {
  border-color: #ebecee #ebecee #ebecee #dddddd;
}

.tabs-right > .nav-tabs .active > a,
.tabs-right > .nav-tabs .active > a:hover,
.tabs-right > .nav-tabs .active > a:focus {
  border-color: #ddd #ddd #ddd transparent;
  *border-left-color: white;
}

.nav > .disabled > a {
  color: #d8d9db;
}

.nav > .disabled > a:hover,
.nav > .disabled > a:focus {
  text-decoration: none;
  background-color: transparent;
  cursor: default;
}

/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
  filter: alpha(opacity=80);
}

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden;
}

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.mfp-align-top .mfp-container:before {
  display: none;
}

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045;
}

.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}

.mfp-ajax-cur {
  cursor: progress;
}

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content {
  cursor: auto;
}

.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.mfp-loading.mfp-figure {
  display: none;
}

.mfp-hide {
  display: none !important;
}

.mfp-preloader {
  color: #cccccc;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044;
}

.mfp-preloader a {
  color: #cccccc;
}

.mfp-preloader a:hover {
  color: white;
}

.mfp-s-ready .mfp-preloader {
  display: none;
}

.mfp-s-error .mfp-content {
  display: none;
}

button.mfp-close, button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  -webkit-box-shadow: none;
  box-shadow: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: white;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace;
}

.mfp-close:hover, .mfp-close:focus {
  opacity: 1;
}

.mfp-close:active {
  top: 1px;
}

.mfp-close-btn-in .mfp-close {
  color: #333333;
}

.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
  color: white;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%;
}

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #cccccc;
  font-size: 12px;
  line-height: 18px;
}

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.mfp-arrow:active {
  margin-top: -54px;
}

.mfp-arrow:hover, .mfp-arrow:focus {
  opacity: 1;
}

.mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 35px;
  margin-left: 35px;
  border: medium inset transparent;
}

.mfp-arrow:after, .mfp-arrow .mfp-a {
  border-top-width: 13px;
  border-bottom-width: 13px;
  top: 8px;
}

.mfp-arrow:before, .mfp-arrow .mfp-b {
  border-top-width: 21px;
  border-bottom-width: 21px;
}

.mfp-arrow-left {
  left: 0;
}

.mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
  border-right: 17px solid white;
  margin-left: 31px;
}

.mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
  margin-left: 25px;
  border-right: 27px solid #3f3f3f;
}

.mfp-arrow-right {
  right: 0;
}

.mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
  border-left: 17px solid white;
  margin-left: 39px;
}

.mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
  border-left: 27px solid #3f3f3f;
}

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px;
}

.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 900px;
}

.mfp-iframe-holder .mfp-close {
  top: -40px;
}

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
}

.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: black;
}

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto;
}

/* The shadow behind the image */
.mfp-figure {
  line-height: 0;
}

.mfp-figure:after {
  content: '';
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #444444;
}

.mfp-figure small {
  color: #bdbdbd;
  display: block;
  font-size: 12px;
  line-height: 14px;
}

.mfp-figure figure {
  margin: 0;
}

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto;
}

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #f3f3f3;
  word-wrap: break-word;
  padding-right: 36px;
}

.mfp-image-holder .mfp-content {
  max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer;
}

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0;
  }

  .mfp-img-mobile img.mfp-img {
    padding: 0;
  }

  .mfp-img-mobile .mfp-figure {
    /* The shadow behind the image */
  }

  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0;
  }

  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px;
  }

  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0;
  }

  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px;
  }

  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0;
  }
}
@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }

  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0;
  }

  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%;
  }

  .mfp-container {
    padding-left: 6px;
    padding-right: 6px;
  }
}
.mfp-ie7 .mfp-img {
  padding: 0;
}

.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px;
}

.mfp-ie7 .mfp-container {
  padding: 0;
}

.mfp-ie7 .mfp-content {
  padding-top: 44px;
}

.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0;
}

@-ms-viewport {
  width: device-width;
}

.hidden {
  display: none;
  visibility: hidden;
}

.visible-phone {
  display: none !important;
}

.visible-tablet {
  display: none !important;
}

.hidden-desktop {
  display: none !important;
}

.visible-desktop {
  display: inherit !important;
}

.visible-print {
  display: none !important;
}

@media print {
  .visible-print {
    display: inherit !important;
  }

  .hidden-print {
    display: none !important;
  }
}
.clearfix {
  *zoom: 1;
}
.clearfix:before, .clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}
.clearfix:after {
  clear: both;
}

.hide-text {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.input-block-level {
  display: block;
  width: 100%;
  min-height: 29px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* IE8 and lower */
.old_ie #primary-nav .menu-panel {
  margin-top: -100px;
}
.old_ie #primary-nav .menu-panel > ul {
  padding-left: 0;
}
.old_ie #primary-nav .menu-panel > ul li.pos5 {
  margin-left: 0;
}
.old_ie #primary-nav .menu-panel > ul li > ul {
  padding: 0;
}
.old_ie #primary-nav .open .menu-panel {
  margin-top: 0;
}

/* IE9 specific styles */
.modern_ie #primary-nav .menu-panel > ul {
  padding-left: 0;
}
.modern_ie #primary-nav .menu-panel > ul li > ul {
  padding: 0;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  /* IE10+ specific styles go here */
  #primary-nav .menu-panel > ul {
    padding-left: 0;
  }
  #primary-nav .menu-panel > ul li > ul {
    padding: 0;
  }
}
.old_ie .dl-back {
  display: none;
}

.old_ie footer .footer-details,
.old_ie footer .footer-utilities {
  background: black;
  float: left;
}

@media (min-width: 1600px) {
  .scrolling header #primary-nav {
    padding-left: 30%;
    padding-right: 15%;
  }
}
@media (min-width: 980px) and (max-width: 1230px) {
  .landing header {
    height: 500px;
    min-height: 500px;
  }
}
@media (min-width: 768px) and (max-width: 979px) {
  body.landing {
    background-position: left -4em;
  }

  .hidden-desktop {
    display: inherit !important;
  }

  .visible-desktop {
    display: none !important;
  }

  .visible-tablet {
    display: inherit !important;
  }

  .hidden-tablet {
    display: none !important;
  }

  .tab-full-width,
  .row-fluid .tab-full-width {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  .tab-half-width,
  .row-fluid .tab-half-width {
    width: 48.78049%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  .tab-add-margin,
  .row-fluid .tab-add-margin {
    margin-left: 2.43902%;
  }

  #left-column {
    width: 31.70732%;
  }

  #right-column {
    clear: left;
    width: 31.70732%;
    margin-top: 2.0em;
    margin-left: 0;
  }

  /* Content styles - 
  // min-width: 768px- max-width:979px
  // -------------------------------------------------- */
  #content {
    width: 65.85366%;
  }
  #content.full-width {
    width: 100%;
  }
  #id2529 #content {
    width: 100%;
  }
  #content p.a-z-controls {
    top: 225px;
  }
  #content ul.latest-news li {
    width: 48.78049%;
  }
  #content ul.latest-news li:nth-child(3n+1) {
    clear: none;
    margin-left: 2.43902%;
  }
  #content ul.latest-news li.fourth {
    clear: none;
    margin-left: 2.43902%;
  }
  #content ul.latest-news li:nth-child(2n+1) {
    clear: left;
    margin-left: 0;
  }
  #content ul.latest-news li.third {
    clear: left;
    margin-left: 0;
  }
  #content ul.upcoming li {
    width: 48.78049%;
  }
  #content ul.upcoming li:nth-child(3n+1) {
    clear: none;
    margin-left: 2.43902%;
  }
  #content ul.upcoming li.fourth {
    clear: none;
    margin-left: 2.43902%;
  }
  #content ul.upcoming li:nth-child(2n+1) {
    clear: left;
    margin-left: 0;
  }
  #content ul.upcoming li.third {
    clear: left;
    margin-left: 0;
  }
  #content div[class*="-wrap"] {
    height: 43em;
  }
  #content div[class*="-wrap"] > ul li {
    height: 25em;
  }

  .scrolling main p.a-z-controls {
    top: 44px;
  }
  .scrolling main p.a-z-controls > span {
    max-width: 100%;
  }

  header #utility-nav {
    position: absolute;
    top: 4em;
  }
  .scrolling header #utility-nav #logo {
    margin: 0.5em 0 2em;
    font-size: 11.0px;
    letter-spacing: 2.4px;
  }
  .scrolling header #utility-nav #logo span.special-caps {
    font-size: 25.0px;
  }
  header #tertiary-nav li.quick-search {
    padding: 0;
    height: 43px;
    border-bottom: 2px solid white;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 28%;
    float: right;
  }
  header #weather-short li.description {
    border-color: rgba(255, 255, 255, 0.5);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
  }
  header #search-form {
    margin: 1.8em 0 0 0.2em;
    width: auto;
    position: inherit;
  }
  header #search-form fieldset input[type="search"] {
    border-bottom: none;
  }
  header #search-form fieldset input[type="submit"] {
    padding-right: 1em;
  }
  header nav#global-nav {
    font-size: 15.0px;
    margin-top: 7.5em;
  }
  header #primary-nav:before, header #primary-nav:after {
    height: 2.9em;
  }
  header #primary-nav li > a {
    padding: 0.8em 0;
  }

  .landing header,
  #id8674 header {
    height: 290px;
    min-height: 290px;
  }
}
@media (max-width: 979px) {
  #content.offset1 {
    margin-left: 2%;
    *margin-left: 2%;
  }

  #alert-banner h2 {
    font-size: 25.0px;
  }
  #alert-banner a {
    font-size: 17.0px;
  }

  #logo {
    margin: 1.7em 0 2em;
    font-size: 13px;
    letter-spacing: 2.4px;
  }
  #logo span.special-caps {
    font-size: 30.0px;
  }

  .landing header h2.photo-caption, #id8674 header h2.photo-caption {
    display: none;
  }
  .landing header nav#global-nav {
    margin-top: 8em;
  }
  #id8674 header nav#global-nav {
    margin-top: 12em;
  }

  footer .footer-details .facilities-details .span3 {
    width: 48%;
  }
  footer .footer-details .facilities-details > li:nth-child(2n+3) {
    margin-left: 0;
    clear: left;
  }
  footer .footer-details .facilities-details > li:nth-child(2n+3):before {
    background: #ffc40c;
    background-color: rgba(255, 196, 12, 0.5);
    height: 1px;
    content: "";
    width: 1400px;
    margin: 0 0 1em -100px;
  }
  footer .footer-details .facilities-details > li:nth-child(1), footer .footer-details .facilities-details > li:nth-child(2) {
    margin-bottom: 3em;
  }
}
@media (max-width: 767px) {
  body.show-primary-nav,
  body.show-secondary-nav {
    background-color: #262626;
  }

  /*
  // GRID & CONTAINERS -  max-width: 767px
  // ----------------------------------------*/
  .container {
    width: auto;
  }

  .row-fluid {
    width: 100%;
  }

  .row {
    margin-left: 0;
  }

  .ph-half-width,
  .row-fluid .ph-half-width {
    width: 48.78049%;
    *width: 48.7273%;
  }

  .ph-add-margin,
  .row-fluid .ph-add-margin {
    margin-left: 2.43902%;
  }

  [class*="span"],
  .uneditable-input[class*="span"],
  .row-fluid [class*="span"] {
    float: none;
    display: block;
    width: 100%;
    margin-left: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  .span12,
  .row-fluid .span12 {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  .row-fluid [class*="offset"]:first-child {
    margin-left: 0;
  }

  main > .container.fixed-fluid,
  header > .container.fixed-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  main > .container.fixed-fluid > div {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .landing main > .container.fixed-fluid {
    top: 0;
  }

  /*
  /  Responsive max 767px
  /-------------------------------------*/
  .hidden-desktop {
    display: inherit !important;
  }

  .visible-desktop {
    display: none !important;
  }

  .visible-phone {
    display: inherit !important;
  }

  .hidden-phone {
    display: none !important;
  }

  .nav-visually-hidden {
    position: static;
    left: auto;
  }

  .phone-visually-hidden {
    position: absolute;
    left: -9999px;
  }

  .container-fluid {
    padding: 0;
  }

  #left-column {
    min-height: inherit;
  }

  .show-secondary-nav #right-column {
    display: none;
  }
  #right-column #nested-calendar {
    display: none;
  }

  #alert-banner h2 {
    padding: 15px 0 5px 40px;
    font-size: 20.0px;
  }
  #alert-banner h2:before {
    font-size: 20.0px;
  }
  #alert-banner a {
    padding: 5px 0 10px;
    font-size: 13px;
  }
  #alert-banner .close-btn {
    right: 0;
    top: 1em;
  }
  #alert-banner .close-btn span {
    height: 30px;
  }
  #alert-banner .close-btn span:first-child {
    -webkit-transform: rotate(-45deg) translate(1px, 1px);
    -moz-transform: rotate(-45deg) translate(1px, 1px);
    -ms-transform: rotate(-45deg) translate(1px, 1px);
    -o-transform: rotate(-45deg) translate(1px, 1px);
    transform: rotate(-45deg) translate(1px, 1px);
  }

  #global-nav {
    display: none;
  }

  header {
    height: 170px;
    background: none !important;
  }
  .home header, .landing header {
    height: 170px;
    min-height: 170px;
  }

  #utility-nav {
    background: #ffc40c;
    float: left;
    height: 170px;
    width: 100%;
  }
  #utility-nav .primary-toggle {
    display: none;
  }
  #utility-nav .search-toggle,
  #utility-nav .secondary-toggle {
    text-align: center;
  }
  #utility-nav .search-toggle a,
  #utility-nav .secondary-toggle a {
    position: absolute;
    top: 85px;
    font-family: MerriweatherBold;
    font-size: 14.0px;
    text-transform: uppercase;
    display: block;
    border-left: 1px solid grey;
    width: 25%;
  }
  #utility-nav .search-toggle a:hover, #utility-nav .search-toggle a.dl-active,
  #utility-nav .secondary-toggle a:hover,
  #utility-nav .secondary-toggle a.dl-active {
    background: black;
    color: white;
  }
  #utility-nav .search-toggle a:before,
  #utility-nav .secondary-toggle a:before {
    text-align: center;
    width: 100%;
    height: 30px;
    position: absolute;
    top: 24px;
    left: 0;
  }
  #utility-nav .search-toggle.open a,
  #utility-nav .secondary-toggle.open a {
    background: black;
    color: white;
  }
  #utility-nav .search-toggle a {
    left: 50%;
    padding: 49px 0 17px;
  }
  #utility-nav .search-toggle a:before {
    font-family: FontAwesome;
    font-size: 25.0px;
    font-weight: normal;
    font-style: normal;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
    *margin-right: .3em;
    content: "\f002";
  }
  #utility-nav .secondary-toggle a {
    left: 75%;
    padding: 49px 0 17px;
  }
  #utility-nav .secondary-toggle a:before {
    font-family: FontAwesome;
    font-size: 25.0px;
    font-weight: normal;
    font-style: normal;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
    *margin-right: .3em;
    content: "\f0c9";
  }

  #tertiary-nav {
    background: none;
    position: absolute;
    top: 85px;
    left: 25%;
    height: 85px;
    width: 25%;
    padding: 0;
  }
  #tertiary-nav li {
    position: relative;
    padding: 0;
    width: 100%;
    text-align: center;
  }
  #tertiary-nav li.second a {
    color: black;
    text-transform: uppercase;
    font-family: MerriweatherBold;
    font-size: 14.0px;
    padding: 49px 0 17px;
    display: block;
    border-left: 1px solid grey;
  }
  #tertiary-nav li.second a:before {
    content: "\f0c0";
    text-align: center;
    font-family: fontawesome;
    width: 100%;
    height: 30px;
    position: absolute;
    top: 24px;
    left: 0;
    font-size: 25px;
  }
  #tertiary-nav li.second a:hover {
    text-decoration: none;
  }
  #id12738 #tertiary-nav li.second a {
    color: #ffc40c;
    background: black;
  }
  #tertiary-nav li.quick-search {
    width: 500%;
    left: -700%;
  }
  #tertiary-nav li.quick-search form {
    background: black;
    margin-top: 0;
    top: 0;
    padding: 2em;
  }
  #tertiary-nav li.quick-search form a {
    display: none;
  }
  #tertiary-nav li.quick-search form input[type="search"] {
    height: 2em;
    color: white;
  }
  #tertiary-nav li.quick-search.open form {
    left: 120%;
    z-index: 200;
  }
  #tertiary-nav .hideable {
    position: absolute;
    left: -9999px;
  }

  #logo {
    width: 100%;
    background: white;
    margin: 0;
    padding: 1.7em 0 1.2em;
    text-align: center;
    height: 85px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  #logo a {
    color: #302e33;
  }
  #logo a span.special-caps {
    color: #bf460a;
  }
  #logo a:before {
    content: "\f015";
    font-family: fontawesome;
    position: absolute;
    top: 110px;
    font-size: 25px;
    left: 0;
    width: 25%;
    height: 30px;
  }
  #logo a:after {
    content: "HOME";
    position: absolute;
    top: 135px;
    left: 0;
    font-family: MerriweatherBold;
    /* border-right: 1px solid grey; */
    display: block;
    height: 30px;
    width: 25%;
    text-align: center;
    letter-spacing: 1px;
    font-size: 14.0px;
  }

  .scrolling header #utility-nav {
    position: fixed;
    z-index: 100;
    height: 85px;
    overflow: hidden;
    top: 0;
  }
  .scrolling header #utility-nav .search-toggle a,
  .scrolling header #utility-nav .secondary-toggle a {
    top: 0;
  }
  .scrolling header #logo {
    background: none;
    width: 25%;
    overflow: hidden;
    text-align: right;
  }
  .scrolling header #logo a {
    position: absolute;
    width: 400%;
    left: 0;
  }
  .scrolling header #logo a span {
    display: none;
  }
  .scrolling header #logo a:before, .scrolling header #logo a:after {
    left: 0;
    text-align: center;
  }
  .scrolling header #logo a:before {
    top: 14px;
  }
  .scrolling header #logo a:after {
    top: 38px;
  }
  .scrolling header #tertiary-nav {
    visibility: visible;
    z-index: 100;
  }
  .scrolling header #tertiary-nav li.second {
    position: fixed;
    top: 0;
    width: 25%;
    left: 25%;
    padding-bottom: 17px;
  }
  .scrolling header #tertiary-nav li.quick-search form {
    top: 85px;
    left: -800px;
    position: fixed;
    width: 100%;
  }
  .scrolling header #tertiary-nav li.quick-search.open form {
    left: 0;
  }

  #secondary-nav {
    position: absolute;
    left: -9999px;
    margin-bottom: 0;
    border-top: none;
    border-bottom: none;
    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
    -o-perspective: 1000px;
    perspective: 1000px;
    -webkit-perspective-origin: 50% 200%;
    -moz-perspective-origin: 50% 200%;
    -o-perspective-origin: 50% 200%;
    perspective-origin: 50% 200%;
  }
  .show-secondary-nav #secondary-nav {
    position: relative;
    left: auto;
  }
  #secondary-nav > h1 {
    display: none;
  }
  #secondary-nav > h1:before {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    content: '';
    width: 0;
    height: 0;
    padding-left: 0;
    background-color: transparent;
  }
  #secondary-nav ul {
    width: 100%;
    padding: 0 !important;
    border: none !important;
    list-style: none;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
  }
  #secondary-nav ul li {
    position: relative !important;
    height: 60px;
  }
  #secondary-nav ul li a {
    display: block;
    position: relative !important;
    float: left;
    width: 100%;
    height: 60px;
    padding: 22px 30px 25px 25px !important;
    background-color: black;
    border-bottom: 1px solid #ffdd72;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    color: white !important;
    font-family: MerriweatherLight;
    font-size: 13px;
    letter-spacing: 1px;
  }
  #secondary-nav ul li a:hover {
    background-color: #333333 !important;
    text-decoration: none;
  }
  #secondary-nav ul li a:focus, #secondary-nav ul li a:active {
    text-decoration: none;
  }
  #secondary-nav ul li ul li a {
    background-color: black !important;
    font-size: 14.0px;
    border: none;
  }
  .parent #secondary-nav ul li ul li a, .current #secondary-nav ul li ul li a {
    background-color: black !important;
  }
  #secondary-nav ul li .dl-menu-down:not(:last-child) {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 15%;
    height: 60px;
    background-color: black;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  #secondary-nav ul li .dl-menu-down:not(:last-child):after {
    position: absolute;
    top: 50%;
    width: 100%;
    margin-top: -11px;
    font-family: FontAwesome;
    font-size: 24.0px;
    font-weight: normal;
    font-style: normal;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
    *margin-right: .3em;
    content: "\f105";
    color: white;
    text-align: center;
  }
  .old_ie #secondary-nav ul li .dl-menu-down:not(:last-child):after {
    position: absolute;
    top: 50%;
    margin-top: -11px;
    font-family: FontAwesome;
    font-size: 24.0px;
    font-weight: normal;
    font-style: normal;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
    *margin-right: .3em;
    *zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf105;');
    color: white;
    text-align: center;
  }
  #secondary-nav ul li .dl-menu-down:not(:last-child):hover {
    background-color: #333333 !important;
    cursor: pointer;
  }
  #secondary-nav ul li.first-level {
    height: 70px;
  }
  #secondary-nav ul li.first-level > a {
    padding-bottom: 0 !important;
    font-family: MerriweatherLight !important;
    border-bottom: 1px solid #ffdd72;
    font-size: 14.0px;
    height: 70px;
  }
  #secondary-nav ul li.first-level > a > em {
    display: block;
    font-family: MerriweatherLight;
    font-size: 10.0px;
    font-style: normal;
  }
  .parent #secondary-nav ul li.first-level > a, .current #secondary-nav ul li.first-level > a {
    border-bottom: 1px solid #ffdd72;
  }
  #secondary-nav ul li.first-level > .dl-menu-down {
    height: 70px;
    border-bottom: 1px solid #ffdd72;
  }
  #secondary-nav ul li.parent > a, #secondary-nav ul li.current > a {
    border-top: none !important;
    font-family: MerriweatherLight !important;
    color: #ffc40c !important;
  }
  #secondary-nav ul li.parent.first-level > a, #secondary-nav ul li.current.first-level > a {
    font-family: MerriweatherLight !important;
    background-color: black;
  }
  #secondary-nav ul li.current > a {
    font-family: MerriweatherLight !important;
  }
  #secondary-nav ul li.current > a:hover {
    background-color: #333333 !important;
  }
  #secondary-nav ul li.current.parent > a {
    font-family: MerriweatherLight !important;
  }
  #secondary-nav ul li.current.parent > a:hover {
    background-color: #333333 !important;
  }
  #secondary-nav ul li.dl-back > a {
    width: 100%;
    padding-left: 55px !important;
    color: #ffc40c !important;
    border-botom: 1px solid #ffc40c;
  }
  #secondary-nav ul li.dl-back > a:before {
    position: absolute;
    top: 50%;
    left: 10px;
    margin-top: -11px;
    font-family: FontAwesome;
    font-size: 24.0px;
    font-weight: normal;
    font-style: normal;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
    *margin-right: .3em;
    content: "\f104";
    color: #ffc40c;
    text-align: center;
    text-transform: capitalize;
  }
  .old_ie #secondary-nav ul li.dl-back > a:before {
    position: absolute;
    top: 50%;
    left: 10px;
    margin-top: -11px;
    font-family: FontAwesome;
    font-size: 24.0px;
    font-weight: normal;
    font-style: normal;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
    *margin-right: .3em;
    *zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0d9;');
    color: #ffc40c;
    text-align: center;
  }
  #secondary-nav ul li.dl-back > a:hover {
    background-color: #333333 !important;
  }
  #secondary-nav ul li .dl-submenu {
    display: none;
  }
  #secondary-nav ul.dl-menu {
    width: 100%;
    opacity: 0;
    pointer-events: none;
    -webkit-transform: translateY(150px);
    -moz-transform: translateY(150px);
    transform: translateY(150px);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .show-secondary-nav #secondary-nav ul.dl-menu {
    position: absolute;
  }
  #secondary-nav ul.dl-menu.dl-menu-toggle {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  #secondary-nav ul.dl-menu.dl-menuopen {
    opacity: 1;
    pointer-events: auto;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
  #secondary-nav ul.dl-subview li, #secondary-nav ul.dl-subview li.dl-subviewopen > a, #secondary-nav ul.dl-subview li.dl-subview > a, #secondary-nav ul.dl-subview li.dl-subviewopen > .dl-menu-down, #secondary-nav ul.dl-subview li.dl-subview > .dl-menu-down {
    display: none !important;
  }
  #secondary-nav ul.dl-subview li.dl-subview, #secondary-nav ul.dl-subview li.dl-subview .dl-submenu, #secondary-nav ul.dl-subview li.dl-subviewopen, #secondary-nav ul.dl-subview li.dl-subviewopen > .dl-submenu, #secondary-nav ul.dl-subview li.dl-subviewopen > .dl-submenu > li {
    display: block !important;
  }
  #secondary-nav > .dl-submenu {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    margin: 0;
  }
  #secondary-nav > ul > li {
    display: block;
    width: 100%;
    padding: 0;
  }
  #secondary-nav > ul > li + li.current > a {
    border-top-width: 0;
  }
  #secondary-nav > ul > li:hover + li.current > a {
    z-index: 0;
    border-top-width: 0;
  }

  #id2529 #left-column {
    display: block;
    position: absolute;
    left: -9999px;
  }

  #id2529.show-secondary-nav #left-column {
    position: static;
    left: auto;
  }

  /* Breadcrumbs 
  // max-width: 767px
  // -------------------------------------------------- */
  #breadcrumbs {
    display: none;
  }

  .show-secondary-nav #nested-calendar {
    display: none;
  }

  h1.page-title {
    font-size: 28.0px;
    margin-top: 1.0em;
    padding: 0 3%;
  }
  .show-secondary-nav h1.page-title {
    display: none;
  }

  main {
    margin-top: 0;
  }
  main p.a-z-controls.container {
    padding: 0.7em !important;
  }
  main p.a-z-controls.container span > a, main p.a-z-controls.container span > span {
    width: 6%;
  }

  #content {
    padding-left: 3%;
    padding-right: 3%;
    padding-bottom: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  #content.offset1 {
    margin-left: 0;
  }
  .show-secondary-nav #content {
    display: none;
  }
  #id2529 #content {
    padding-left: 0;
    padding-right: 0;
  }
  #content p.a-z-controls span {
    width: 100%;
    margin: 0;
  }
  #content ul.latest-news li {
    float: left;
    width: 48.78049%;
    margin-left: 2.43902%;
  }
  #content ul.latest-news li:nth-child(3n+1) {
    clear: none;
    margin-left: 2.43902%;
  }
  #content ul.latest-news li.fourth {
    clear: none;
    margin-left: 2.43902%;
  }
  #content ul.latest-news li:nth-child(2n+1) {
    clear: left;
    margin-left: 0;
  }
  #content ul.latest-news li.third {
    clear: left;
    margin-left: 0;
  }
  #content ul.upcoming li {
    float: left;
    width: 48.78049%;
    margin-left: 2.43902%;
  }
  #content ul.upcoming li:nth-child(3n+1) {
    clear: none;
    margin-left: 2.43902%;
  }
  #content ul.upcoming li.fourth {
    clear: none;
    margin-left: 2.43902%;
  }
  #content ul.upcoming li:nth-child(2n+1) {
    clear: left;
    margin-left: 0;
  }
  #content ul.upcoming li.third {
    clear: left;
    margin-left: 0;
  }
  #content div[class*="-wrap"] {
    height: 35em;
  }
  #content div[class*="-wrap"].public-notices-wrap, #content div[class*="-wrap"].latest-news-wrap, #content div[class*="-wrap"].events-wrap {
    margin-top: 1em;
  }
  #content div[class*="-wrap"].public-notices-wrap h3, #content div[class*="-wrap"].latest-news-wrap h3, #content div[class*="-wrap"].events-wrap h3 {
    padding-top: 0;
    margin-top: 2em;
  }
  #content div[class*="-wrap"].public-notices-wrap h3:before, #content div[class*="-wrap"].latest-news-wrap h3:before, #content div[class*="-wrap"].events-wrap h3:before {
    background: none;
    height: 0;
  }

  .scrolling main p.a-z-controls {
    top: 85px;
  }
  .scrolling main p.a-z-controls > span {
    max-width: 100%;
  }

  footer {
    background: none;
  }
  .show-secondary-nav footer {
    display: none;
  }
  footer > div.container.fixed-fluid {
    padding: 0 !important;
  }
  footer .footer-details {
    margin: 0;
  }
  footer .footer-details ul.span3 {
    width: 100%;
  }
  footer .footer-details ul.span3 li {
    width: 48%;
  }
  footer .footer-details ul.facilities-details [class*="span"] {
    float: left;
  }
  footer .footer-details ul.facilities-details > li:nth-child(1), footer .footer-details ul.facilities-details > li:nth-child(3) {
    width: 52%;
    padding-right: 8%;
  }
  footer .opening-hours li,
  footer .phone li,
  footer .address li {
    clear: left;
  }
  footer .footer-utilities {
    background: white;
  }
  footer .footer-utilities a {
    color: black;
  }
  footer .footer-utilities a:hover {
    color: black;
    text-decoration: underline;
  }
  footer #footer-links {
    text-align: center;
  }
  footer #footer-links li {
    display: inline-block;
    float: none;
  }
  footer #nz-govt-link {
    width: 100%;
    text-align: center;
  }
  footer #nz-govt-link img {
    margin-left: -15%;
  }
  footer #copyright {
    width: 100%;
    text-align: center;
    color: black;
  }
}
@media (max-width: 480px) {
  /*
  /  Responsive max 480px
  /-------------------------------------*/
  .text-center-mobile {
    text-align: center;
  }

  .bold-text-mobile {
    font-weight: bold;
  }

  input[type="checkbox"],
  input[type="radio"] {
    border: 1px solid #ccc;
  }

  .ph-half-width,
  .row-fluid .ph-half-width {
    width: 100%;
    *width: 100%;
  }

  .ph-add-margin,
  .row-fluid .ph-add-margin {
    margin-left: 0%;
  }

  #alert-banner h2 {
    font-size: 20.0px;
  }
  #alert-banner a {
    font-size: 13px;
  }

  #content ul.latest-news li {
    float: none;
    width: 100%;
    margin-left: 0%;
  }
  #content ul.latest-news li:nth-child(3n+1) {
    clear: none;
    margin-left: 0;
  }
  #content ul.latest-news li.fourth {
    clear: none;
    margin-left: 0;
  }
  #content ul.latest-news li:nth-child(2n+1) {
    clear: none;
    margin-left: 0;
  }
  #content ul.latest-news li.third {
    clear: none;
    margin-left: 0;
  }
  #content ul.upcoming li {
    float: none;
    width: 100%;
    margin-left: 0%;
  }
  #content ul.upcoming li:nth-child(3n+1) {
    clear: none;
    margin-left: 0;
  }
  #content ul.upcoming li.fourth {
    clear: none;
    margin-left: 0;
  }
  #content ul.upcoming li:nth-child(2n+1) {
    clear: none;
    margin-left: 0;
  }
  #content ul.upcoming li.third {
    clear: none;
    margin-left: 0;
  }
  #content input,
  #content select {
    width: 100%;
  }
  #content input[type="submit"], #content input.button,
  #content select[type="submit"],
  #content select.button {
    width: auto;
  }

  footer .footer-details ul.facilities-details .span3 {
    width: 100%;
  }
  footer .footer-details ul.facilities-details .span3 li {
    width: 100%;
  }
  footer .footer-details ul.facilities-details > li:nth-child(1), footer .footer-details ul.facilities-details > li:nth-child(3) {
    width: 100%;
  }
  footer .footer-details ul.facilities-details > li {
    margin-bottom: 3em;
  }
  footer .footer-details ul.facilities-details > li:before {
    background: #ffc40c;
    height: 1px;
    content: "";
    width: 1400px;
    margin: 0 0 1em -100px;
  }
}
